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

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

Parameters Parameters


(bool) Whether to enable the 'expand' functionality. Default true.


(string) Post type.

Top ↑

Source Source

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

View on Trac

Top ↑

Changelog Changelog

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

Top ↑

User Contributed Notes User Contributed Notes

Top ↑

You must log in before being able to contribute a note or feedback.