Filter to allow other plugins to overwrite the result of the third-party error check for remote logging.
true, $message, $context
Sortie :
@param bool $is_third_party_error The result of the third-party error check. @param string $message The error message. @param array $context The error context.
// Modifier la valeur avec le filtre 'woocommerce_remote_logging_is_third_party_error'
add_filter('woocommerce_remote_logging_is_third_party_error', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(true) {
// Modifier la valeur
return true;
}
Chargement des actualités...