Filters whether to enable the ‘expand’ functionality in the post editor.
Parameters
$expand
bool- Whether to enable the
'expand'
functionality. Default true. $post_type
string- Post type.
Source
if ( apply_filters( 'wp_editor_expand', true, $post_type ) ) {
User Contributed Notes
You must log in before being able to contribute a note or feedback.