wp_navigation_should_create_fallback

FILTER wp-includes\class-wp-navigation-fallback.php (ligne 78) github
Filters whether or not a fallback should be created.

Paramètres

Entrée :
true
Sortie :
@param bool $create Whether to create a fallback navigation menu. Default true.

Utilisation

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

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

Actualités

Chargement des actualités...