bbp_is_user_home_edit()
Check if current page is the currently logged in users author edit page
Description
Return
(bool) True if it's the user's home, false if not
Source
File: bp-forums/common/template.php
function bbp_is_user_home_edit() { // Assume false $retval = false; if ( bbp_is_user_home() && bbp_is_single_user_edit() ) $retval = true; return (bool) apply_filters( 'bbp_is_user_home_edit', $retval ); }
Changelog
Version | Description |
---|---|
bbPress (r3918) | 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.