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 Description
Parameters 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 Source
File: bp-xprofile/classes/class-bp-xprofile-profiledata.php
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Added $reserialize and $this parameters. |
1.0.0 | Introduced. |