Filters text before named entities are converted into numbered entities. A non-null string must be returned for the filter to be evaluated.
$text, $default_editor = null
Sortie :
@param string|null $converted_text The text to be converted. Default null. @param string $text The text prior to entity conversion. @param string $text The text to be formatted. @param string $default_editor The default editor for the current user. @return string The formatted text after filter is applied.
// Utilisation de la fonction format_for_editor
$result = format_for_editor($text, $default_editor = null);
if ($result) {
// Votre logique ici
}
Chargement des actualités...