bp_core_enable_root_profiles()
Are root profiles enabled and allowed?
Description Description
Return Return
(bool) True if yes, false if no.
Source Source
File: bp-core/bp-core-catchuri.php
function bp_core_enable_root_profiles() { $retval = false; if ( defined( 'BP_ENABLE_ROOT_PROFILES' ) && ( true == BP_ENABLE_ROOT_PROFILES ) ) $retval = true; /** * Filters whether or not root profiles are enabled and allowed. * * @since 1.6.0 * * @param bool $retval Whether or not root profiles are available. */ return apply_filters( 'bp_core_enable_root_profiles', $retval ); }
Changelog Changelog
Version | Description |
---|---|
1.6.0 | Introduced. |