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



wp_editor_expand › WordPress过滤钩子

Since4.1.0
已弃用n/a
› apply_filters( 'wp_editor_expand', true, $post_type )
参数: (2)
  • () expand Whether to enable the 'expand' functionality. Default true.
    Required: Yes
  • () post_type Post type.
    Required: Yes
定义在:
文档:

Filters whether to enable the 'expand' functionality in the post editor.





源码

if ( apply_filters( 'wp_editor_expand', true, $post_type ) ) {