woocommerce_coming_soon_exclude

FILTER woocommerce\src\Internal\ComingSoon\ComingSoonRequestHandler.php (ligne 164) github
Check if there is an exclusion.

Paramètres

Entrée :
false
Sortie :
@param bool $is_excluded If the request should be excluded from Coming soon mode. Defaults to false.

Utilisation

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

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

Actualités

Chargement des actualités...