wc_help_tip

FUNCTION woocommerce\includes\wc-core-functions.php (ligne 1666) github
Display a WooCommerce help tip.

Paramètres

Entrée :
$tip, $allow_html = false
Sortie :
@param  string $tip        Help tip text.
@param  bool   $allow_html Allow sanitized HTML if true or escape.
@return string

Utilisation

// Utilisation de la fonction wc_help_tip
$result = wc_help_tip($tip, $allow_html = false);

if ($result) {
    // Votre logique ici
}

Actualités

Chargement des actualités...