This function has been deprecated. BuddyPress 1.7.0 instead.
bp_is_page( string $page = '' )
No longer used by BuddyPress core
Description
Parameters
- $page
-
(Optional)
Default value: ''
Return
(boolean) True if is BuddyPress page
Source
File: bp-core/deprecated/buddypress/1.7.php
function bp_is_page( $page = '' ) { _deprecated_function( __FUNCTION__, '1.7' ); if ( !bp_is_user() && bp_is_current_component( $page ) ) return true; if ( 'home' == $page ) return is_front_page(); return false; }
Changelog
Version | Description |
---|---|
BuddyPress 1.7.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.