File: bp-friends/classes/class-bp-rest-friends-endpoint.php
Description
BP_REST_Friends_Endpoint::create_item_permissions_check()

Check if a given request has access to create a friendship.

Source: bp-friends/classes/class-bp-rest-friends-endpoint.php:440

BP_REST_Friends_Endpoint::get_friendship_object()

Get friendship object.

Source: bp-friends/classes/class-bp-rest-friends-endpoint.php:799

bp_rest_friends_create_item_permissions_check

Filter the friends `create_item` permissions check.

Source: bp-friends/classes/class-bp-rest-friends-endpoint.php:451

BP_REST_Friends_Endpoint::get_endpoint_args_for_item_schema()

Edit some arguments for the endpoint’s CREATABLE and EDITABLE methods.

Source: bp-friends/classes/class-bp-rest-friends-endpoint.php:811

BP_REST_Friends_Endpoint

Friendship endpoints.

Source: bp-friends/classes/class-bp-rest-friends-endpoint.php:19

BP_REST_Friends_Endpoint::update_item()

Update friendship.

Source: bp-friends/classes/class-bp-rest-friends-endpoint.php:470

bp_rest_friends_{$key}_query_arguments

Filters the method query arguments.

Source: bp-friends/classes/class-bp-rest-friends-endpoint.php:851

BP_REST_Friends_Endpoint::__construct()

Constructor.

Source: bp-friends/classes/class-bp-rest-friends-endpoint.php:26

bp_rest_friends_update_item

Fires after a friendship is updated via the REST API.

Source: bp-friends/classes/class-bp-rest-friends-endpoint.php:515

BP_REST_Friends_Endpoint::get_item_schema()

Get the friends schema, conforming to JSON Schema.

Source: bp-friends/classes/class-bp-rest-friends-endpoint.php:860