bp_displayed_user_id

  • apply_filters( 'bp_displayed_user_id', !empty( $bp->displayed_user->id ) ? $bp->displayed_user->id : 0 )

    Source Reference:

    • Component: BuddyPress :: bp-members
      File: /bp-members/bp-members-template.php :: Trac Source Line: 874
      	echo bp_get_displayed_user_link();
      }
      	function bp_get_displayed_user_link() {
      		return apply_filters( 'bp_get_displayed_user_link', bp_displayed_user_domain() );
      	}
      	function bp_user_link() { bp_displayed_user_domain(); } // Deprecated.
      
      function bp_displayed_user_id() {
      	global $bp;
      	return apply_filters( 'bp_displayed_user_id', !empty( $bp->displayed_user->id ) ? $bp->displayed_user->id : 0 );
      }
      	function bp_current_user_id() { return bp_displayed_user_id(); }
      
      function bp_loggedin_user_id() {
      	global $bp;
      	return apply_filters( 'bp_loggedin_user_id', !empty( $bp->loggedin_user->id ) ? $bp->loggedin_user->id : 0 );
      }
      
      function bp_displayed_user_domain() {
      	global $bp;
      

Comments are closed.