apply_filters( 'bp_xprofile_field_member_types', array $types, BP_XProfile_Field $field )

Filters the profile types to which an XProfile object should be applied.

Description

Parameters

$types

(array) profile types.

$field

(BP_XProfile_Field) Field object.

Source

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

Changelog

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