Get the webhook topic, e.g. `order.created`.
$this->get_prop( 'topic', $context
Sortie :
@param string $context What the value is for. @return string
// Modifier la valeur avec le filtre 'woocommerce_webhook_topic'
add_filter('woocommerce_webhook_topic', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($this->get_prop( 'topic') {
// Modifier la valeur
return $this->get_prop( 'topic';
}
Chargement des actualités...