bp_root_slug( string $component = '' )

Output the root slug for a given component.


Description Description


Parameters Parameters

$component

(Optional) The component name.

Default value: ''


Top ↑

Source Source

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

function bp_root_slug( $component = '' ) {
	echo bp_get_root_slug( $component );
}

Top ↑

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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