apply_filters( 'bp_group_type_illegal_names', array $illegal_names )

Filters the list of illegal group type names.

Description

  • ‘any’ is a special pseudo-type, representing items unassociated with any group 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 group types.

Parameters

$illegal_names

Array of illegal names.

Source

File: bp-groups/bp-groups-functions.php

Changelog

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