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.
Source Source
File: bp-messages/classes/class-bp-rest-messages-endpoint.php
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |