apply_filters( 'xprofile_data_value_before_save', string $field_value, int $data_id, bool $reserialize, BP_XProfile_ProfileData $this )

Filters the data’s value before saving to the database.

Description

Parameters

$field_value

The field value.

$data_id

The field data ID.

$reserialize

Whether to reserialize arrays before returning. Defaults to true.

$this

Current instance of the profile data being saved.

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.