File: bp-activity/classes/class-bp-rest-activity-link-preview-endpoint.php
Description
BP_REST_Activity_Link_Preview_Endpoint

Activity link preview endpoints.

Source: bp-activity/classes/class-bp-rest-activity-link-preview-endpoint.php:16

BP_REST_Activity_Link_Preview_Endpoint::__construct()

Constructor.

Source: bp-activity/classes/class-bp-rest-activity-link-preview-endpoint.php:23

BP_REST_Activity_Link_Preview_Endpoint::register_routes()

Register the component routes.

Source: bp-activity/classes/class-bp-rest-activity-link-preview-endpoint.php:33

BP_REST_Activity_Link_Preview_Endpoint::get_items()

Retrieve activity link preview.

Source: bp-activity/classes/class-bp-rest-activity-link-preview-endpoint.php:72

bp_rest_activity_link_preview_get_items

Fires after the activity link preview is fetched via the REST API.

Source: bp-activity/classes/class-bp-rest-activity-link-preview-endpoint.php:121

BP_REST_Activity_Link_Preview_Endpoint::get_items_permissions_check()

Check if a given request has access to activity link preview items.

Source: bp-activity/classes/class-bp-rest-activity-link-preview-endpoint.php:134

bp_rest_activity_link_preview_get_items_permissions_check

Filter the activity link preview permissions check.

Source: bp-activity/classes/class-bp-rest-activity-link-preview-endpoint.php:175

BP_REST_Activity_Link_Preview_Endpoint::get_item_schema()

Get the plugin schema, conforming to JSON Schema.

Source: bp-activity/classes/class-bp-rest-activity-link-preview-endpoint.php:185

bp_rest_activity_link_preview_schema

Filters the activity link preview schema.

Source: bp-activity/classes/class-bp-rest-activity-link-preview-endpoint.php:232