apply_filters( 'bp_xprofile_get_field_types', array $fields )

Filters the list of all xprofile field types.

Description

If you’ve added a custom field type in a plugin, register it with this filter.

Parameters

$fields

(array) Array of field type/class name pairings.

Source

File: bp-xprofile/bp-xprofile-functions.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.