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

Filter a recipient value returned from the API.


Parameters Parameters

$data

(array) The recipient value for the REST response.

$recipient

(object) The recipient object.

$request

(WP_REST_Request) Request used to generate the response.


Source Source

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

View on Trac



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.