- Timestamp:
- 08/28/2019 08:38:00 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/classes/class-bp-groups-component.php
r12441 r12451 923 923 ) ); 924 924 } 925 926 /** 927 * Init the BP REST API. 928 * 929 * @since 5.0.0 930 */ 931 public function rest_api_init() { 932 $controller = new BP_REST_Groups_Endpoint(); 933 $controller->register_routes(); 934 935 $controller = new BP_REST_Group_Membership_Endpoint(); 936 $controller->register_routes(); 937 938 $controller = new BP_REST_Group_Invites_Endpoint(); 939 $controller->register_routes(); 940 941 $controller = new BP_REST_Group_Membership_Request_Endpoint(); 942 $controller->register_routes(); 943 944 $controller = new BP_REST_Attachments_Group_Avatar_Endpoint(); 945 $controller->register_routes(); 946 947 parent::rest_api_init(); 948 } 925 949 }
Note: See TracChangeset
for help on using the changeset viewer.