File: bp-friends/classes/class-bp-rest-friends-endpoint.php |
Description |
---|---|
bp_rest_friends_get_item |
Fires before a friendship is retrieved via the REST API. |
bp_rest_friends_delete_item |
Fires after a friendship is deleted via the REST API. |
BP_REST_Friends_Endpoint::get_item_permissions_check() |
Check if a given request has access to get a friendship. |
BP_REST_Friends_Endpoint::delete_item_permissions_check() |
Check if a given request has access to delete a friendship. |
bp_rest_friends_get_item_permissions_check |
Filter the friendship `get_item` permissions check. |
bp_rest_friends_delete_item_permissions_check |
Filter the friendship `delete_item` permissions check. |
BP_REST_Friends_Endpoint::create_item() |
Create a new friendship. |
BP_REST_Friends_Endpoint::prepare_item_for_response() |
Prepares friendship data to return as an object. |
bp_rest_friends_create_item |
Fires after a friendship is created via the REST API. |
bp_rest_friends_prepare_value |
Filter a friendship value returned from the API. |