Filter the list of logging handlers that can be set as the default handler.
$handler_options
Sortie :
@param array $handler_options An associative array of class_name => description.
// Modifier la valeur avec le filtre 'woocommerce_logger_handler_options'
add_filter('woocommerce_logger_handler_options', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($handler_options) {
// Modifier la valeur
return $handler_options;
}
Chargement des actualités...