woocommerce_webhook_http_args

FILTER woocommerce\includes\class-wc-webhook.php (ligne 343) github
Deliver the webhook payload using wp_safe_remote_request().

Paramètres

Entrée :
$http_args, $arg, $this->get_id(
Sortie :
@param mixed $arg First hook argument.

Utilisation

// Modifier la valeur avec le filtre 'woocommerce_webhook_http_args'
add_filter('woocommerce_webhook_http_args', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre($http_args) {
    // Modifier la valeur
    return $http_args;
}

Actualités

Chargement des actualités...