- Timestamp:
- 09/25/2019 11:22:00 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/classes/class-bp-activity-component.php
r12451 r12463 462 462 * 463 463 * @since 5.0.0 464 * /465 public function rest_api_init() {466 $controller = new BP_REST_Activity_Endpoint();467 $controller->register_routes();468 469 parent::rest_api_init( );464 * 465 * @param array $controllers Optional. See BP_Component::rest_api_init() for 466 * description. 467 */ 468 public function rest_api_init( $controllers = array() ) { 469 parent::rest_api_init( array( 'BP_REST_Activity_Endpoint' ) ); 470 470 } 471 471 }
Note: See TracChangeset
for help on using the changeset viewer.