Filter whether personalization is enabled while rendering the form.
false
Sortie :
@param bool $enabled Whether personalization is enabled. @return bool
// Modifier la valeur avec le filtre 'woocommerce_customer_stock_notifications_personalization_enabled'
add_filter('woocommerce_customer_stock_notifications_personalization_enabled', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(false) {
// Modifier la valeur
return false;
}
Chargement des actualités...