apply_filters( 'xprofile_filtered_data_value_before_save', string $filtered_field_value, string $field_value, BP_XProfile_ProfileData $data_obj )

Filters the kses-filtered data before saving to database.

Description

Parameters

$filtered_field_value

(string) The filtered value.

$field_value

(string) The original value before filtering.

$data_obj

(BP_XProfile_ProfileData) The BP_XProfile_ProfileData object.

Source

File: bp-xprofile/bp-xprofile-filters.php

Changelog

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