Title: Feature Request WP-CLI
Last modified: April 21, 2021

---

# Feature Request WP-CLI

 *  Resolved anonymized-17631918
 * (@anonymized-17631918)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/feature-request-wp-cli/)
 * Hi,
 * first of all, i really like NinjaFirewall. I use this Plugin for every Website
   and i never get Problems with them. I also never had an hacked Website.
    Really
   love it.
 * But i have one Question/Feature Request:
 * Please add an Option for WP-CLI to activate the Full WAF Mode. That would be 
   really nice. Or its enough to manual create the “.user.ini” file? Because i dont
   know if there are also database changes when activate Full WAF Mode.

Viewing 1 replies (of 1 total)

 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/feature-request-wp-cli/#post-14355149)
 * You can manually create the .user.ini.
    It should look like this:
 *     ```
       ; BEGIN NinjaFirewall
       auto_prepend_file = "/full/path/to/wp-content/nfwlog/ninjafirewall.php"
       ; END NinjaFirewall
       ```
   
 * The `BEGIN` and `END` placeholders are important because if you uninstalled NinjaFirewall,
   it would search for them in order to delete the directive from the INI file.
   
   That’s all, nothing else is needed.
 * I’m not sure we can add this feature from WP CLI, because on some configuration,
   the PHP CLI interpreter may not load the INI file and the firewall will not know
   if it’s loaded or not.

Viewing 1 replies (of 1 total)

The topic ‘Feature Request WP-CLI’ is closed to new replies.

 * ![](https://ps.w.org/ninjafirewall/assets/icon-256x256.png?rev=976137)
 * [NinjaFirewall (WP Edition) - Advanced Security Plugin and Firewall](https://wordpress.org/plugins/ninjafirewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ninjafirewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ninjafirewall/)
 * [Active Topics](https://wordpress.org/support/plugin/ninjafirewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ninjafirewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ninjafirewall/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/feature-request-wp-cli/#post-14355149)
 * Status: resolved