woocommerce_webhook_topic_hooks

FILTER woocommerce\includes\class-wc-webhook.php (ligne 983) github
Get the associated hook names for a topic.

Paramètres

Entrée :
$topic_hooks, $this
Sortie :
@param  string $topic Topic name.
@return array

Utilisation

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

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

Actualités

Chargement des actualités...