BP_XProfile_Component::rest_api_init( array $controllers = array() )
Init the BuddyBoss REST API.
Description
Parameters
- $controllers
-
(Optional) See BP_Component::rest_api_init() for description.
Default value: array()
Source
File: bp-xprofile/classes/class-bp-xprofile-component.php
510 511 512 513 514 515 516 517 518 519 520 | public function rest_api_init( $controllers = array () ) { parent::rest_api_init( array ( 'BP_REST_XProfile_Fields_Endpoint' , 'BP_REST_XProfile_Field_Groups_Endpoint' , 'BP_REST_XProfile_Data_Endpoint' , 'BP_REST_XProfile_Update_Endpoint' , 'BP_REST_XProfile_Repeater_Endpoint' , 'BP_REST_XProfile_Search_Form_Fields_Endpoint' , 'BP_REST_XProfile_Types_Endpoint' , ) ); } |
Changelog
Version | Description |
---|---|
BuddyBoss 1.3.5 | 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.