bbp_is_valid_role

bbp_is_valid_role

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_is_valid_role') is found 1 times:

  • /includes/users/capabilities.php line 338
    		}
    	}
    
    	// Filter & return
    	return (bool) apply_filters( 'bbp_is_valid_role', $retval, $role );
    }
    
    /**
     * Add the default role to the current user if needed
     *
     * This function will bail if the forum is not global in a multisite