內容簡介
- WordPress 5.5 引入了 WP_ENVIRONMENT_TYPE 常數,允許你定義 WordPress 目前運行的環境,包括生產、測試、本地或開發環境。
- 你可以使用 Display Environment Type 外掛在管理列顯示這個資訊。
- 然而,在新版的 WordPress 中,管理列在文章編輯器和網站編輯器中被隱藏了。
- 這個外掛新增了一個圖示到區塊編輯器工具列中,用於顯示環境類型。
- 你可以將這個外掛視為 Display Environment Type 的補充外掛,因為你應該同時使用兩個外掛程式。
以 HTML 的項目符號清單呈現:
<ul>
<li>WordPress 5.5 引入了 WP_ENVIRONMENT_TYPE 常數,允許你定義 WordPress 目前運行的環境,包括生產、測試、本地或開發環境。</li>
<li>你可以使用 Display Environment Type 外掛在管理列顯示這個資訊。</li>
<li>然而,在新版的 WordPress 中,管理列在文章編輯器和網站編輯器中被隱藏了。</li>
<li>這個外掛新增了一個圖示到區塊編輯器工具列中,用於顯示環境類型。</li>
<li>你可以將這個外掛視為 Display Environment Type 的補充外掛,因為你應該同時使用兩個外掛程式。</li>
</ul>
開發者團隊
原文外掛簡介
WordPress 5.5 introduced the WP_ENVIRONMENT_TYPE constant, which allows you to define the current environment where WordPress is running, either production, staging, local, or development. You can use the Display Environment Type plugin to show this information in the admin bar.
However, in new WordPress versions, the admin bar is hidden in the post editor and site editor. This plugin adds a new icon in the block editor toolbar to display the environment type. You can think of this as a complimentary plugin to Display Environment Type because it’s highly recommended that you use both plugins at the same time.
Support the plugin
Maintaining a WordPress plugin is a lot of work. If you like the plugin, please consider rating it on WordPress.org. You can also support me on GitHub sponsors. Thank you!
If you are interested, you can also check out my other WordPress plugins:
Disable Media Pages
Disable Customizer
Disable Drop Cap
ACF Image Aspect Ratio Crop
