apply_filters( 'bp_member_type_illegal_names', array $illegal_names )

Filters the list of illegal profile type names.

Description

  • ‘any’ is a special pseudo-type, representing items unassociated with any profile type.
  • ‘null’ is a special pseudo-type, representing users without any type.
  • ‘_none’ is used internally to denote an item that should not apply to any profile types.

Parameters

$illegal_names

(array) Array of illegal names.

Source

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