richedit_pre

FILTER wp-includes\deprecated.php (ligne 3600) github
Filters text returned for the rich text editor. This filter is first evaluated, and the value returned, if an empty string is passed to wp_richedit_pre(). If an empty string is passed, it results in a break tag and line feed. If a non-empty string is passed, the filter is evaluated on the wp_richedit_pre() return after being formatted.

Paramètres

Entrée :
''
Sortie :
@param string $output Text for the rich text editor.

Utilisation

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

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

Actualités

Chargement des actualités...