Get the resource for the webhook, e.g. `order`.
$topic[0], $this->get_id(
Sortie :
@return string
// Modifier la valeur avec le filtre 'woocommerce_webhook_resource'
add_filter('woocommerce_webhook_resource', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($topic[0]) {
// Modifier la valeur
return $topic[0];
}
Chargement des actualités...