woocommerce_email_editor_logging_threshold

FILTER woocommerce\src\Internal\EmailEditor\Logger.php (ligne 51) github
Controls the logging threshold for the email editor.

Paramètres

Entrée :
WC_Log_Levels::WARNING
Sortie :
@param string $threshold The log level threshold.

Utilisation

// 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;
}

Actualités

Chargement des actualités...