apply_filters( 'bp_rest_messages_prepare_recipient_value', array $data, object $recipient, WP_REST_Request $request )

Filter a recipient value returned from the API.


Description Description


Parameters Parameters

$data

The recipient value for the REST response.

$recipient

The recipient object.

$request

Request used to generate the response.


Top ↑

Source Source

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


Top ↑

Changelog Changelog

Changelog
Version Description
5.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.