File: bp-groups/classes/class-bp-rest-groups-types-endpoint.php
Description
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

bp_rest_groups_types_schema

Filters the groups types field schema.

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

BP_REST_Groups_Types_Endpoint::get_collection_params()

Get the query params for the Groups types.

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

bp_rest_groups_types_collection_params

Filters the collection query params.

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

BP_REST_Groups_Types_Endpoint::bp_rest_group_type_post_by_type()

Get group type post by Group type slug.

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