过滤默认情况下应显示哪个编辑器。
原型
apply_filters( 'wp_default_editor', string $r )
参数
$r
(string)
默认情况下应显示哪个编辑器。 ‘tinymce’,‘html’或’test’。
源文件
路径:wp-includes/general-template.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/wp_default_editor/
过滤默认情况下应显示哪个编辑器。
apply_filters( 'wp_default_editor', string $r )
$r
(string)
默认情况下应显示哪个编辑器。 ‘tinymce’,‘html’或’test’。
路径:wp-includes/general-template.php
英文文档:https://developer.wordpress.org/reference/hooks/wp_default_editor/
请在后台设置小工具!