Controls the logging threshold for the email editor.
WC_Log_Levels::WARNING
Sortie :
@param string $threshold The log level threshold.
// Modifier la valeur avec le filtre 'woocommerce_email_editor_logging_threshold'
add_filter('woocommerce_email_editor_logging_threshold', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(WC_Log_Levels::WARNING) {
// Modifier la valeur
return WC_Log_Levels::WARNING;
}
Chargement des actualités...