woocommerce_webhook_hooks

FILTER woocommerce\includes\class-wc-webhook.php (ligne 1001) github
Get the hook names for the webhook.

Paramètres

Entrée :
$hooks, $this->get_id(
Sortie :
@return array

Utilisation

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

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

Actualités

Chargement des actualités...