This function has been deprecated. BuddyPress 1.5.0 instead.
bp_core_is_root_component( $component_name )
Checks to see if a component’s URL should be in the root, not under a member page: eg: http://example.com/groups/the-group NOT http://example.com/members/andy/groups/the-group You should be using bp_is_root_component().
Description
Return
(bool) True if root component, else false.
Source
File: bp-core/deprecated/buddypress/1.5.php
function bp_core_is_root_component( $component_name ) { _deprecated_function( __FUNCTION__, '1.5', 'bp_is_root_component()' ); return bp_is_root_component( $component_name ); }
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.