apply_filters( 'bp_rest_members_pre_insert_value', stdClass $prepared_user, WP_REST_Request $request )

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

Description

Parameters

$prepared_user

An object prepared for inserting or updating the database.

$request

Request object.

Source

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

Changelog

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.