过滤wp_editor()设置。
原型
apply_filters( 'wp_editor_settings', array $settings, string $editor_id )
参数
$settings
(array)
编辑器参数的数组。
$editor_id
(string)
当前编辑器实例的ID。
源文件
路径:wp-includes/class-wp-editor.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/wp_editor_settings/