wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_editor_expand › WordPress Filter Hooks

Since4.1.0
Deprecatedn/a
apply_filters( 'wp_editor_expand', true, $post_type )
Parameters: (2)
  • (bool) $expand Whether to enable the 'expand' functionality. Default true.
    Required: Yes
  • (string) $post_type Post type.
    Required: Yes
Defined at:
Codex:

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





Source

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