- Timestamp:
- 08/28/2019 08:38:00 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/classes/class-bp-xprofile-component.php
r11929 r12451 490 490 return $wp_admin_nav; 491 491 } 492 493 /** 494 * Init the BP REST API. 495 * 496 * @since 5.0.0 497 */ 498 public function rest_api_init() { 499 $controller = new BP_REST_XProfile_Fields_Endpoint(); 500 $controller->register_routes(); 501 502 $controller = new BP_REST_XProfile_Field_Groups_Endpoint(); 503 $controller->register_routes(); 504 505 $controller = new BP_REST_XProfile_Data_Endpoint(); 506 $controller->register_routes(); 507 508 parent::rest_api_init(); 509 } 492 510 }
Note: See TracChangeset
for help on using the changeset viewer.