BP_REST_Messages_Endpoint::__construct()
Constructor.
Description
Source
File: bp-messages/classes/class-bp-rest-messages-endpoint.php
23 24 25 26 27 28 | public function __construct() { $this -> namespace = bp_rest_namespace() . '/' . bp_rest_version(); $this ->rest_base = buddypress()->messages->id; add_filter( 'rest_post_dispatch' , array ( $this , 'bp_rest_post_dispatch' ), 10, 3 ); } |
Changelog
Version | Description |
---|---|
0.1.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.