WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_editor_expand

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/edit-form-advanced.php apply_filters 60 /**
* Filters whether to enable the 'expand' functionality in the post editor.
*
* @since 4.0.0
* @since 4.1.0 Added the `$post_type` parameter.
*
* @param bool $expand Whether to enable the 'expand' functionality. Default true.
* @param string $post_type Post type.
*/

Hook Parameters

Parameter Type Name Description
bool $expand Whether to enable the 'expand' functionality. Default true.
string $post_type Post type.