BP_REST_Reply_Endpoint::__construct()
Constructor.
Description
Source
File: bp-forums/classes/class-bp-rest-reply-endpoint.php
44 45 46 47 48 49 50 | public function __construct() { $this -> namespace = bp_rest_namespace() . '/' . bp_rest_version(); $this ->rest_base = 'reply' ; $this ->forum_endpoint = new BP_REST_Forums_Endpoint(); $this ->topic_endpoint = new BP_REST_Topics_Endpoint(); $this ->bbb_walker_reply = new Rest_BBP_Walker_Reply(); } |
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.