log1x/acf-move-wp-editor
Composer 安装命令:
composer require log1x/acf-move-wp-editor
包简介
A simple ACF Field that moves the WordPress content editor of a post or page to the location of this field.
关键字:
README 文档
README
This is a simple ACF Field that moves the WordPress content editor of a post or page to the location of this field.
This can be useful for cleaning up your Edit Post screen with something like ACF tabs:
Installation
Install ACF Move WP Editor using Composer:
$ composer require log1x/acf-move-wp-editor
Recommended Filters
The filters below remove the TinyMCE editor feature that expands its container to the height of the content as well as removes the option from the Help menu.
/** * Unregister the editor expand script. * * @return void */ add_action('admin_init', function () { wp_deregister_script('editor-expand'); }); /** * Disable TinyMCE's autoresize. * * @param array $init * @return array */ add_filter('tiny_mce_before_init', function ($init) { unset($init['wp_autoresize_on']); return $init; });
统计信息
- 总下载量: 1.15k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 36
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-09-13