apply_filters( 'bp_xprofile_field_type_set_whitelist_values', string $value, array $values, BP_XProfile_Field_Type $this )

Filters values for field type’s whitelist that profile data will be asserted against.

Description

Parameters

$value

Field value.

$values

Original array of values.

$this

Current instance of the BP_XProfile_Field_Type class.

Source

File: bp-xprofile/classes/class-bp-xprofile-field-type.php

Changelog

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