apply_filters( 'bp_rest_activity_link_preview_get_items_permissions_check', bool|WP_Error $retval, WP_REST_Request $request )

Filter the activity link preview permissions check.

Description

Parameters

$retval

Returned value.

$request

The request sent to the API.

Source

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

Changelog

Changelog
Version Description
0.1.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.