File: bp-core/classes/class-bp-rest-components-endpoint.php
Description
bp_rest_components_get_items

Fires after a list of components is fetched via the REST API.

Source: bp-core/classes/class-bp-rest-components-endpoint.php:159

BP_REST_Components_Endpoint::get_collection_params()

Get the query params for collections.

Source: bp-core/classes/class-bp-rest-components-endpoint.php:508

BP_REST_Components_Endpoint::get_items_permissions_check()

Check if a given request has access to list components.

Source: bp-core/classes/class-bp-rest-components-endpoint.php:172

bp_rest_components_collection_params

Filters the collection query params.

Source: bp-core/classes/class-bp-rest-components-endpoint.php:535

bp_rest_components_get_items_permissions_check

Filter the components `get_items` permissions check.

Source: bp-core/classes/class-bp-rest-components-endpoint.php:193

BP_REST_Components_Endpoint::update_item()

Activate/Deactivate a component.

Source: bp-core/classes/class-bp-rest-components-endpoint.php:213

bp_rest_components_update_item

Fires after a component is updated via the REST API.

Source: bp-core/classes/class-bp-rest-components-endpoint.php:292

BP_REST_Components_Endpoint::update_item_permissions_check()

Check if a given request has access to update a component.

Source: bp-core/classes/class-bp-rest-components-endpoint.php:305

bp_rest_components_update_item_permissions_check

Filter the components `update_item` permissions check.

Source: bp-core/classes/class-bp-rest-components-endpoint.php:316

BP_REST_Components_Endpoint::prepare_item_for_response()

Prepares component data for return as an object.

Source: bp-core/classes/class-bp-rest-components-endpoint.php:328