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

Create a topic.

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

bp_rest_topic_create_item

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

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

BP_REST_Topics_Endpoint::create_item_permissions_check()

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

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

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

BP_REST_Topics_Endpoint::register_routes()

Register the component routes.

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

BP_REST_Topics_Endpoint::get_items()

Retrieve Topics.

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