wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



format_for_editor › Les Filtres WordPress

Depuis4.3.0
Dépréciéen/a
› apply_filters( 'format_for_editor', $text, $default_editor )
Paramètres: (2)
  • () text The formatted text.
    Requis: Oui
  • () default_editor The default editor for the current user. It is usually either 'html' or 'tinymce'.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the text after it is formatted for the editor.





Source

return apply_filters( 'format_for_editor', $text, $default_editor );