bp_groups_register_group_type_taxonomy( array $taxonomies = array() )

Register the Group Types taxonomy.


Parameters Parameters

$taxonomies

(array) (Optional) BuddyPress default taxonomies.

Default value: array()


Top ↑

Return Return

(array) BuddyPress default taxonomies.


Source Source

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

function bp_groups_register_group_type_taxonomy( $taxonomies = array() ) {
	return array_merge(
		$taxonomies,
		array(
			// Group Type.
			bp_get_group_type_tax_name() => array(
				'object'    => 'bp_group',
				'component' => 'groups',
				'args'      => bp_get_group_type_tax_args(),
			),
		)
	);
}


Top ↑

Changelog Changelog

Changelog
Version Description
7.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.