apply_filters( 'bp_rest_activity_pre_insert_value', stdClass $prepared_activity, WP_REST_Request $request )

Filters an activity before it is inserted or updated via the REST API.

Parameters Parameters


(stdClass) An object prepared for inserting or updating the database.


(WP_REST_Request) Request object.

Source Source

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

View on Trac

Top ↑

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.