BP_Groups_Component::register_taxonomies()

Set up taxonomies.

Description

Source

File: bp-groups/classes/class-bp-groups-component.php

	public function register_taxonomies() {
		// Group Type.
		register_taxonomy( 'bp_group_type', 'bp_group', array(
			'public' => false,
		) );
	}

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.