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 Description


Parameters Parameters

$prepared_activity

An object prepared for inserting or updating the database.

$request

Request object.


Top ↑

Source Source

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


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.