woocommerce_prevent_automatic_wizard_redirect

FILTER woocommerce\src\Internal\Admin\Onboarding\OnboardingSetupWizard.php (ligne 112) 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 :
false
Sortie :
N/A

Utilisation

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

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

Actualités

Chargement des actualités...