BP_XProfile_Component::rest_api_init( array $controllers = array() )
Init the BP REST API.
Description Description
Parameters Parameters
- $controllers
-
(Optional) See BP_Component::rest_api_init() for description.
Default value: array()
Source Source
File: bp-xprofile/classes/class-bp-xprofile-component.php
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_Attachments_Member_Avatar_Endpoint', ) ); }
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |