plugin-icon

Disable Customizer

作者:joppuyo·
Completely disable Customizer on your WordPress site.
评级
4
版本
2.2.7
活跃安装
400
最后更新
Apr 4, 2024

Disable Customizer lets you completely disable Customizer on your WordPress site. This is useful in cases where you develop custom sites or themes that don’t use Customizer. Removing the extra “Customize” button that doesn’t actually do anything useful simplifies the WordPress admin user experience.

The code is based on Customizer Remove All Parts by Jesse Petersen and Andy Wilkerson.

Improvements compared to the original plugin

  • I’ve added automated tests that ensure plugin works in new versions of WordPress and PHP.
  • With the help of the automated tests, I’ve tested that the plugin works in WordPress 5.0 and later. The original plugin was only tested up to WordPress 4.4.
  • The automated tests also ensure that the plugin works in PHP 7 and 8. The original plugin was only tested with PHP 5.
  • Customizer Remove All Parts was removed from the plugin directory due to being “unused”, presumably since it hasn’t been updated in 5 years. Disable Customizer is available in the plugin directory so it can be easily installed and kept up to date

In the process, I’ve dropped support for old versions of WordPress and PHP. I would have liked the continue supporting these but supporting a very wide range of WordPress and PHP versions becomes increasingly difficult. The upside is that since the tests are automated, I can be very certain that the versions claim to be supported are actually so. According to wordpress.org statistics WordPress 5.0 and PHP 7 should cover around 90% of WordPress users.

Support the plugin

Maintaining a WordPress plugin is a lot of work. If you like the plugin, please consider rating it on WordPress.org. Thank you!

If you are interested, you can also check out my other WordPress plugins:

免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.5.9
这个插件是可用的下载,适用于您的站点。