The latest release of AIOS makes it easier for you to work with the plugin by releasing a set of commands you can enter directly into the WP-CLI. This means you can easily and efficiently perform key functions within the plugin from the command line.
Supported commands are easy to understand and use. They’re a simple way to save time and effort. The result is a more simple, streamlined workflow, better productivity, and a standardized way of carrying out important plugin functions. The full list of plugin commands and their function is below. Please note that you must have SSH access, WordPress Command Line Interface installed and AIOS Security and Firewall Premium activated. If these are active, you will have access to WordPress AIOS commands.
New plugin commands available within AIOS:
wp aios set --help` and `wp aios reset --help
Shows you a list of all available plugin commands.
wp aios reset --all
Reset all of your settings related to AIOS.
wp aios set security-features off
Use this option to turn off all the security features of this plugin.
wp aios set firewall off
Disable all firewall rules which are currently active in AIOS if you think one of the firewall rules is causing an issue on your site.
wp aios set firewall on
WP security > Firewall > Basic firewall rules – Enable basic firewall protection related rules for your site are enabled.
wp aios set login-lockout on
Enable the login lockout rules to block attackers repeated login attempts until they guess the password.
wp aios set login-lockout off
Disable the login lockout rules which are currently active in AIOS.
wp aios set debug on
Debugging the issue required logs. It will enable debug logs for AIOS.
wp aios set debug off
Disable the debug log active in AIOS.
wp aios set php-backtrace-in-email on
Enable php backtrace in login lockout emails to include internal coding information which makes it easier to investigate where an issue occurred.
wp aios set php-backtrace-in-email off
Disable the php backtrace in login lockout emails for AIOS.
wp aios set simplemath-recaptcha on
Enable the simple math captcha on the WordPress login page.
wp aios set simplemath-recaptcha off
Disable the simple math captcha on the login page and other forms.
wp aios set google-recaptcha on
Enable Google reCAPTCHA on the WordPress login page.
wp aios set google-recaptcha off
Disable Google reCAPTCHA on the login page and other forms.
wp aios set google-recaptcha-site-key 6LdTxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Set the Google reCAPTCHA site key for client side integration.
wp aios set google-recaptcha-secret-key 6LdTOkxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Set the Google reCAPTCHA secret key for server side integration.
wp aios set turnstile-recaptcha on
Enable the Cloudflare turnstile captcha on the WordPress login page.
wp aios set turnstile-recaptcha off
Disable the Cloudflare turnstile captcha on the login page and other forms.
wp aios set turnstile-recaptcha-site-key 0x4Axxxxxxxxxxxxxxxxxxxxx
Set the Cloudflare turnstile captcha site key for its integration.
wp aios set turnstile-recaptcha-secret-key 0x4xxxxxxxxxxxxxxxxxxxxx
Set the Cloudflare turnstile captcha secret key for its integration.
wp aios set copy-protection on
Will disable the “Right click”, “Text selection” and “Copy” option on the front end of your site.
wp aios set copy-protection off
Will disable the copy protection active in AIOS
The full list of plugin tweaks and fixes can be found here:
- FEATURE: Added WP-CLI command ‘wp aios’ to set and reset some of AIOS features.
- FIX: Corrected broken link for ‘View All 404 Events’ button on Smart 404 > Blocked IPs tab.
- TWEAK: Reset the AIOS premium configuration entries also when the free plugin’s settings page “Reset settings” button is pressed.
- TWEAK: Improve internal code structure making way for future improvements