bbp_filter_is_user_home( bool $is = false )
Filter the Forums is_user_home function with BuddyBoss equivalent
Description
Parameters
- $is
-
(Optional) Default false
Default value: false
Return
(bool) True if viewing single user, false if not
Source
File: bp-forums/functions.php
101 102 103 104 105 106 | function bbp_filter_is_user_home( $is = false ) { if ( ! empty ( $is ) ) return $is ; return bp_is_my_profile(); } |
Changelog
Version | Description |
---|---|
bbPress (r3552) | 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.