should_load_remote_block_patterns

FILTER wp-includes\block-patterns.php (ligne 287) github
Filter to disable remote block patterns.

Paramètres

Entrée :
true
Sortie :
@param bool $should_load_remote

Utilisation

// Modifier la valeur avec le filtre 'should_load_remote_block_patterns'
add_filter('should_load_remote_block_patterns', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre(true) {
    // Modifier la valeur
    return true;
}

Actualités

Chargement des actualités...