File: bp-forums/classes/class-bp-rest-topics-endpoint.php
Description
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_topics_collection_params

Filters the collection query params.

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

BP_REST_Topics_Endpoint::prepare_links()

Prepare links for the request.

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

bp_rest_topic_update_item

Fires after a topic is updated and fetched via the REST API.

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

bp_rest_topic_prepare_links

Filter links prepared for the REST response.

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

BP_REST_Topics_Endpoint::update_item_permissions_check()

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

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

BP_REST_Topics_Endpoint::get_topic_action_states()

Get topic actions state based on current user.

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

bp_rest_topic_update_item_permissions_check

Filter the topic `update_item` permissions check.

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

BP_REST_Topics_Endpoint::get_topic_current_user_permissions()

Topic permissions for the current user.

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