woocommerce_enable_setup_wizard

FILTER woocommerce\src\Internal\Admin\Onboarding\OnboardingSetupWizard.php (ligne 97) github
Handle redirects to setup/welcome page after install and updates. For setup wizard, transient must be present, the user must have access rights, and we must ignore the network/bulk plugin updaters.

Paramètres

Entrée :
true
Sortie :
N/A

Utilisation

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

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

Actualités

Chargement des actualités...