wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



format_for_editor › Filtr WordPress Hooks

Od4.3.0
Przestarzałyn/a
› apply_filters( 'format_for_editor', $text, $default_editor )
Parametry: (2)
  • () text The formatted text.
    Wymagane: Tak
  • () default_editor The default editor for the current user. It is usually either 'html' or 'tinymce'.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the text after it is formatted for the editor.





Źródło

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