Filters whether to enable the ‘expand’ functionality in the post editor.
Parameters
$expandbool- Whether to enable the
'expand'functionality. Default true. $post_typestring- 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.