run_wptexturize

FILTER wp-includes\formatting.php (ligne 78) github
Filters whether to skip running wptexturize(). Returning false from the filter will effectively short-circuit wptexturize() and return the original text passed to the function instead. The filter runs only once, the first time wptexturize() is called.

Paramètres

Entrée :
$run_texturize
Sortie :
@param bool $run_texturize Whether to short-circuit wptexturize().

Utilisation

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

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

Actualités

Chargement des actualités...