woocommerce_webhook_name

FILTER woocommerce\includes\class-wc-webhook.php (ligne 643) github
Get the friendly name for the webhook.

Paramètres

Entrée :
$this->get_prop( 'name', $context
Sortie :
@param  string $context What the value is for.
@return string

Utilisation

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

function ma_fonction_filtre($this->get_prop( 'name') {
    // Modifier la valeur
    return $this->get_prop( 'name';
}

Actualités

Chargement des actualités...