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.
Description
Parameters
- $prepared_activity
-
An object prepared for inserting or updating the database.
- $request
-
Request object.
Source
File: bp-activity/classes/class-bp-rest-activity-endpoint.php
Changelog
Version | Description |
---|---|
0.1.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.