woocommerce_get_privacy_policy_text

FILTER woocommerce\includes\wc-template-functions.php (ligne 894) github
Get the privacy policy text, if set.

Paramètres

Entrée :
$text, $type
Sortie :
@param string $type Type of policy to load. Valid values include registration and checkout.
@return string

Utilisation

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

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

Actualités

Chargement des actualités...