Disable Customizer

外掛說明

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:

安裝方式

  1. Install the plugin.
  2. Activate the plugin via the plugins admin page.
  3. There’s no step three. Activating the plugin disables Customizer automatically.

常見問題集

Is there a GitHub repo?

Yes, you can find the plugin on GitHub here.

使用者評論

2023 年 1 月 27 日
Normally I don’t write reviews but this plugin is just awesome and gets the job done the right way! Keep up the great work and please keep it updated.
2022 年 10 月 27 日 1 則留言
If you ever want to remove this and get your customizer back there is no simple way. There are residuals left all over in other folders. Took my tech team 2 hours to find them all and I have over 10 sites with this. I can’t get any more support without big $. I am so so mad I ever installed this on my sites
2022 年 5 月 6 日
It is a very good plugin, if you need to completely remove/disable Customizer in WordPress. It removes “Customize” links from Dashboard and Admin Bar and also disables Customizer URL. Thanks for your work.
閱讀全部 4 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Disable Customizer〉的開發相關工作。

參與者

〈Disable Customizer〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Disable Customizer〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

2.2.7 (2024‐04‐04)

  • Fix: Test in WP 6.5

2.2.6 (2023‐12‐12)

  • Fix: Test in WP 6.4

2.2.5 (2023‐08‐10)

  • Fix: Test in WP 6.3

2.2.4 (2022-11-09)

  • Fix: Test in WP 6.1

2.2.3 (2022-05-28)

  • Fix: Test in WP 6.0

2.2.2 (2022-01-28)

  • Fix: Bump supported WordPress version to 5.9

2.2.1 (2021-12-26)

  • Fix: Update readme

2.2.0 (2021-12-25)

  • Feature: Add a namespace to the class to prevent potential conflicts
  • Feature: New and improved icon

2.1.0 (2021-12-07)

  • Feature: add icon

2.0.0 (2021-12-07)

  • Breaking change: change plugin slug to customizer-disabler instead of disable-customizer since the latter is already in use to comply with wordpress.org requirements
  • Feature: Release on wordpress.org
  • Feature: Remove update checker

1.1.0 (2021-10-03)

  • Feature: Add update checker
  • Fix: Delete unnecessary files from archive

1.0.0 (2021-02-02)

  • Initial release