Title: Shell import settings?
Last modified: August 30, 2016

---

# Shell import settings?

 *  Resolved [OviLiz](https://wordpress.org/support/users/ovib/)
 * (@ovib)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/shell-import-settings/)
 * Hi guys,
    I’m using WP-CLI to install and activate the plugin. Is there a way
   to import the settings key through the shell?
 * [https://wordpress.org/plugins/wordfence/](https://wordpress.org/plugins/wordfence/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [WFSupport](https://wordpress.org/support/users/wfsupport/)
 * (@wfsupport)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/shell-import-settings/#post-6498431)
 * There’s a docs page for this that may be close to what you are asking:
    [http://docs.wordfence.com/en/ImportSettings](http://docs.wordfence.com/en/ImportSettings)
   Did you read that yet?
 * tim
 *  Thread Starter [OviLiz](https://wordpress.org/support/users/ovib/)
 * (@ovib)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/shell-import-settings/#post-6498518)
 * Thank you Tim, I’ll try that.
 *  [tmuka](https://wordpress.org/support/users/tmuka/)
 * (@tmuka)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/shell-import-settings/#post-6498739)
 * very cool, thanks!
 * and that means i can use wp-cli to import them by running…
    `wps eval "wordfence::
   importSettings('foo-replace-with-my-actual-import-token');"`
 * excellent!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Shell import settings?’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [tmuka](https://wordpress.org/support/users/tmuka/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/shell-import-settings/#post-6498739)
 * Status: resolved