wpseek.com
WordPress开发者和主题制作者的搜索引擎



format_for_editor › WordPress过滤钩子

Since4.3.0
已弃用n/a
› apply_filters( 'format_for_editor', $text, $default_editor )
参数: (2)
  • () text The formatted text.
    Required: Yes
  • () default_editor The default editor for the current user. It is usually either 'html' or 'tinymce'.
    Required: Yes
定义在:
文档:

Filters the text after it is formatted for the editor.





源码

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