File: bp-messages/classes/class-bp-rest-messages-actions-endpoint.php
Description
BP_REST_Messages_Actions_Endpoint

Messages Actions endpoints.

Source: bp-messages/classes/class-bp-rest-messages-actions-endpoint.php:16

BP_REST_Messages_Actions_Endpoint::__construct()

Constructor.

Source: bp-messages/classes/class-bp-rest-messages-actions-endpoint.php:32

BP_REST_Messages_Actions_Endpoint::register_routes()

Register the component routes.

Source: bp-messages/classes/class-bp-rest-messages-actions-endpoint.php:43

BP_REST_Messages_Actions_Endpoint::action_items()

Perform Action on the Message Thread.

Source: bp-messages/classes/class-bp-rest-messages-actions-endpoint.php:102

bp_rest_messages_action_items

Fires after a thread is fetched via the REST API.

Source: bp-messages/classes/class-bp-rest-messages-actions-endpoint.php:143

BP_REST_Messages_Actions_Endpoint::action_items_permissions_check()

Check if a given request has access to thread items.

Source: bp-messages/classes/class-bp-rest-messages-actions-endpoint.php:156

bp_rest_messages_action_items_permissions_check

Filter the messages `action_items` permissions check.

Source: bp-messages/classes/class-bp-rest-messages-actions-endpoint.php:208

BP_REST_Messages_Actions_Endpoint::rest_delete_messages()

Delete thread messages by logged in users.

Source: bp-messages/classes/class-bp-rest-messages-actions-endpoint.php:219

BP_REST_Messages_Actions_Endpoint::rest_hide_thread()

Hide unhide message thread based on the logged in user.

Source: bp-messages/classes/class-bp-rest-messages-actions-endpoint.php:237

BP_REST_Messages_Actions_Endpoint::rest_unread_thread()

Read/Unread message thread based on the logged in user.

Source: bp-messages/classes/class-bp-rest-messages-actions-endpoint.php:262