wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



format_for_editor › WordPress Filter Hooks

Da4.3.0
Deprecaton/a
› apply_filters( 'format_for_editor', $text, $default_editor )
Parametri: (2)
  • () text The formatted text.
    Richiesto: Sì
  • () default_editor The default editor for the current user. It is usually either 'html' or 'tinymce'.
    Richiesto: Sì
Definito a:
Codex:

Filters the text after it is formatted for the editor.





Sorgenti

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