apply_filters( 'bp_rest_notifications_pre_insert_value', stdClass $prepared_notification, WP_REST_Request $request )

Filters a notification before it is inserted or updated via the REST API.


Parameters Parameters

$prepared_notification

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

$request

(WP_REST_Request) Request object.


Source Source

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

View on Trac



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.