format_to_edit

FUNCTION wp-includes\formatting.php (ligne 2603) github
Matches supported tags. To get the pattern as a string without the comments paste into a PHP REPL like `php -a`.

Paramètres

Entrée :
$content, $rich_text = false
Sortie :
@param string $content   The text about to be edited.
@param bool   $rich_text Optional. Whether `$content` should be considered rich text,
@return string The text after the filter (and possibly htmlspecialchars()) has been run.

Utilisation

// Utilisation de la fonction format_to_edit
$result = format_to_edit($content, $rich_text = false);

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

Actualités

Chargement des actualités...