- Timestamp:
- 09/25/2019 11:22:00 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-notifications/classes/class-bp-notifications-component.php
r12451 r12463 321 321 * 322 322 * @since 5.0.0 323 * /324 public function rest_api_init() {325 $controller = new BP_REST_Notifications_Endpoint();326 $controller->register_routes();327 328 parent::rest_api_init( );323 * 324 * @param array $controllers Optional. See BP_Component::rest_api_init() for 325 * description. 326 */ 327 public function rest_api_init( $controllers = array() ) { 328 parent::rest_api_init( array( 'BP_REST_Notifications_Endpoint' ) ); 329 329 } 330 330 }
Note: See TracChangeset
for help on using the changeset viewer.