wp_editor_expand

Advertisement

Summery Summery

Filters whether to enable the ‘expand’ functionality in the post editor.

Syntax Syntax

apply_filters( 'wp_editor_expand', bool $expand, string $post_type )

Parameters Parameters

$expand

Whether to enable the 'expand' functionality. Default true.

$post_type

Post type.

Source Source

File: wp-admin/edit-form-advanced.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.1.0 Added the $post_type parameter.
4.0.0 Introduced.

Advertisement

Leave a Reply