File: bp-friends/classes/class-bp-rest-friends-endpoint.php |
Description |
---|---|
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. |
BP_REST_Friends_Endpoint::create_item_permissions_check() |
Check if a given request has access to create a friendship. |
BP_REST_Friends_Endpoint::get_friendship_object() |
Get friendship object. |
bp_rest_friends_create_item_permissions_check |
Filter the friends `create_item` permissions check. |
BP_REST_Friends_Endpoint::get_endpoint_args_for_item_schema() |
Edit some arguments for the endpoint’s CREATABLE and EDITABLE methods. |
BP_REST_Friends_Endpoint |
Friendship endpoints. |
BP_REST_Friends_Endpoint::update_item() |
Update friendship. |