woocommerce_webhook_options

ACTION woocommerce\includes\admin\settings\views\html-webhooks-edit.php (ligne 167) github
Fires within the webhook editor, after the Webhook Data fields have rendered.

Paramètres

Entrée :
$webhook
Sortie :
@param WC_Webhook $webhook

Utilisation

// Ajouter une fonction au hook action 'woocommerce_webhook_options'
add_action('woocommerce_webhook_options', 'ma_fonction_personnalisee', 10, 1);

function ma_fonction_personnalisee($webhook) {
    // Votre code ici
    error_log('Hook woocommerce_webhook_options déclenché');
}

Actualités

Chargement des actualités...