apply_filters( 'xprofile_data_user_id_before_save', int $user_id, int $data_id )

Filters the data’s user ID before saving to the database.

Description

Parameters

$user_id

The user ID.

$data_id

The field data ID.

Source

File: bp-xprofile/classes/class-bp-xprofile-profiledata.php

Changelog

Changelog
Version Description
BuddyPress 1.0.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.