WordPress at Your Fingertips
filter is not described

wp_editor_expand filter-hook . WP 4.0.0

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


add_filter( 'wp_editor_expand', 'filter_function_name_6761', 10, 2 );
function filter_function_name_6761( $expand, $post_type ){
	// filter...

	return $expand;
Whether to enable the 'expand' functionality.
Default: true
Post type.


Since 4.1.0 Added the $post_type parameter.

Where the hook is called

In file: /wp-admin/edit-form-advanced.php
wp-admin/edit-form-advanced.php 60
if ( apply_filters( 'wp_editor_expand', true, $post_type ) ) {

Where in WP core the hook is used WordPress

Usage not found.