apply_filters( 'bp_rest_message_pre_insert_value', stdClass $prepared_thread, WP_REST_Request $request )

Filters a message before it is inserted via the REST API.

Parameters Parameters


(stdClass) An object prepared for inserting into the database.


(WP_REST_Request) Request object.

Source Source

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

View on Trac

Top ↑

Changelog Changelog

Version Description
6.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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