Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function bp_is_my_profile() {
- global $bp;
- if ( is_user_logged_in() && $bp->loggedin_user->id == $bp->displayed_user->id )
- $my_profile = true;
- else
- $my_profile = false;
- return apply_filters( 'bp_is_my_profile', $my_profile );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement