File: bp-forums/classes/class-bp-rest-topics-endpoint.php
Description
BP_REST_Topics_Endpoint::prepare_item_for_response()

Prepares component data for return as an object.

Source: bp-forums/classes/class-bp-rest-topics-endpoint.php:1904

bp_rest_topic_prepare_value

Filter a component value returned from the API.

Source: bp-forums/classes/class-bp-rest-topics-endpoint.php:2020

BP_REST_Topics_Endpoint::get_item_schema()

Get the forums schema, conforming to JSON Schema.

Source: bp-forums/classes/class-bp-rest-topics-endpoint.php:2029

bp_rest_topic_schema

Filters the topic schema.

Source: bp-forums/classes/class-bp-rest-topics-endpoint.php:2332

BP_REST_Topics_Endpoint::get_collection_params()

Get the query params for collections.

Source: bp-forums/classes/class-bp-rest-topics-endpoint.php:2341

bp_rest_topic_create_item_permissions_check

Filter the topic `create_item` permissions check.

Source: bp-forums/classes/class-bp-rest-topics-endpoint.php:1141

bp_rest_topic_get_item

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

Source: bp-forums/classes/class-bp-rest-topics-endpoint.php:521

BP_REST_Topics_Endpoint::update_item()

Update/Edit a topic.

Source: bp-forums/classes/class-bp-rest-topics-endpoint.php:1171

BP_REST_Topics_Endpoint

Topics endpoints.

Source: bp-forums/classes/class-bp-rest-topics-endpoint.php:16

BP_REST_Topics_Endpoint::__construct()

Constructor.

Source: bp-forums/classes/class-bp-rest-topics-endpoint.php:31