bbp_is_user_forum_moderator

bbp_is_user_forum_moderator

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_is_user_forum_moderator') is found 1 times:

  • /includes/forums/capabilities.php line 235
    	$forum_id = bbp_get_forum_id( $forum_id );
    	$retval   = user_can( $user_id, 'moderate', $forum_id );
    
    	// Filter & return
    	return (bool) apply_filters( 'bbp_is_user_forum_moderator', $retval, $user_id, $forum_id );
    }
    
    /**
     * Filter an array of forum IDs that are being excluded, and remove any forum
     * IDs a user explicitly has access to.
     *