bp_get_groups_slug()

Return the groups component slug.

Description

Return

(string)

Source

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

	function bp_get_groups_slug() {

		/**
		 * Filters the groups component slug.
		 *
		 * @since BuddyPress 1.5.0
		 *
		 * @param string $slug Groups component slug.
		 */
		return apply_filters( 'bp_get_groups_slug', buddypress()->groups->slug );
	}

Changelog

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