外掛說明
Turn Off AI Features lets you control AI functionality in WordPress without touching code. It hooks into the wp_supports_ai filter at priority 1000 and returns false when the option is enabled.
Features:
- Toggle AI on or off from Settings > General — no deactivation needed.
- WP-CLI support: wp ai disable / wp ai enable / wp ai status.
- Settings link on the Plugins page for quick access.
- Runs at priority 1000, overriding other plugins that may enable AI.
安裝方式
- Upload the turn-off-ai-features folder to /wp-content/plugins/.
- Activate the plugin through the Plugins menu in WordPress.
- Go to Settings > General and check “Turn off AI features on this site”.
常見問題集
-
How do I turn off AI features?
-
After activating the plugin, go to Settings > General and check the
“Turn off AI features on this site” checkbox, then click Save Changes.
You can also use the Settings link on the Plugins page to get there directly. -
How do I turn on AI features again?
-
Uncheck the “Turn off AI features on this site” checkbox on the Settings > General
page and save. You do not need to deactivate or delete the plugin. -
Can I toggle AI from the command line?
-
Yes. The plugin registers three WP-CLI commands:
wp toaif disable — Turns off AI features site-wide.
wp toaif enable — Turns on AI features site-wide.
wp toaif status — Shows the current AI on/off state. -
Does this affect the WP_AI_SUPPORT constant?
-
No. This plugin hooks into the wp_supports_ai filter at priority 1000, which runs
after the constant is evaluated, and forces the return value to false regardless
of the constant.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
0.0.4
= 0.0.5 =
* Added WP-CLI command support for AI feature management
* Commands: wp toaif disable, wp toaif enable, wp toaif status
0.0.4
- Fixed GitHub Actions workflow configuration
- Resolved WordPress.org SVN deployment integration
- Stable tag properly configured
0.0.1
- Initial release
- Added option to toggle AI features from Settings > General
- Integrated with wp_supports_ai filter at priority 1000
- Added plugin action links for Settings page access