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()
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(), ), ) ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
7.0.0 | Introduced. |