File: bp-groups/classes/class-bp-rest-groups-types-endpoint.php
Description
BP_REST_Groups_Types_Endpoint

Groups Type endpoints.

Source: bp-groups/classes/class-bp-rest-groups-types-endpoint.php:18

BP_REST_Groups_Types_Endpoint::__construct()

Constructor.

Source: bp-groups/classes/class-bp-rest-groups-types-endpoint.php:25

BP_REST_Groups_Types_Endpoint::register_routes()

Register the component routes.

Source: bp-groups/classes/class-bp-rest-groups-types-endpoint.php:35

BP_REST_Groups_Types_Endpoint::get_items()

Retrieve Groups Types.

Source: bp-groups/classes/class-bp-rest-groups-types-endpoint.php:67

bp_rest_groups_types_get_items

Fires after a list of types are fetched via the REST API.

Source: bp-groups/classes/class-bp-rest-groups-types-endpoint.php:90

BP_REST_Groups_Types_Endpoint::get_items_permissions_check()

Check if a given request has access to Groups Types.

Source: bp-groups/classes/class-bp-rest-groups-types-endpoint.php:103

bp_rest_groups_types_get_items_permissions_check

Filter the Groups types `get_items` permissions check.

Source: bp-groups/classes/class-bp-rest-groups-types-endpoint.php:134

BP_REST_Groups_Types_Endpoint::prepare_item_for_response()

Prepares single Groups type to return as an object.

Source: bp-groups/classes/class-bp-rest-groups-types-endpoint.php:146

bp_rest_groups_types_prepare_value

Filter the Groups type field returned from the API.

Source: bp-groups/classes/class-bp-rest-groups-types-endpoint.php:256

BP_REST_Groups_Types_Endpoint::get_item_schema()

Get the Groups types schema, conforming to JSON Schema.

Source: bp-groups/classes/class-bp-rest-groups-types-endpoint.php:266