bp_get_media_root_slug()

Return the media component root slug.

Description

Return

(string)

Source

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

function bp_get_media_root_slug() {

	/**
	 * Filters the Media component root slug.
	 *
	 * @since BuddyBoss 1.0.0
	 *
	 * @param string $slug Media component root slug.
	 */
	return apply_filters( 'bp_get_media_root_slug', buddypress()->media->root_slug );
}

Changelog

Changelog
Version Description
BuddyBoss 1.0.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.