Mô tả
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.
Cài đặt
- 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”.
Hỏi đáp
-
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.
Đánh giá
Không có đánh giá nào cho plugin này.
Người đóng góp & Lập trình viên
“Turn Off AI Features” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng góp“Turn Off AI Features” đã được dịch qua 1 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.
Dịch “Turn Off AI Features” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
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