woocommerce_format_content

FILTER woocommerce\includes\wc-formatting-functions.php (ligne 1157) github
Format content to display shortcodes.

Paramètres

Entrée :
apply_filters( 'woocommerce_short_description', $raw_string
Sortie :
@param  string $raw_string Raw string.
@return string

Utilisation

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

function ma_fonction_filtre(apply_filters( 'woocommerce_short_description') {
    // Modifier la valeur
    return apply_filters( 'woocommerce_short_description';
}

Actualités

Chargement des actualités...