How to Reset WP 1 Click LockDown to Default Settings

3 min readUpdated 24 March 2026

If your settings are causing issues or you want a clean slate, you can reset WP 1 Click LockDown to its defaults in several ways.

Method 1: Re-Apply the Preset (Easiest)

Clicking "Apply 1-Click Preset" from the dashboard resets all settings to the recommended defaults — the same settings applied on first use. This is the easiest reset method if you can still access the admin dashboard.

Method 2: Delete the Option via WP-CLI

# Delete site options (single site)
wp option delete wp1cl_options

# Delete network options (multisite)
wp site option delete wp1cl_network_options

# Delete security headers options
wp option delete wp1cl_headers_options

# Delete license plan stub (if set for testing)
wp option delete wp1cl_license_plan

After running this, WP 1 Click LockDown will recreate all options with default values on the next admin page load.

Method 3: Delete Options via phpMyAdmin

  1. Open phpMyAdmin and select your WordPress database.
  2. Open the wp_options table.
  3. Search for option_name = "wp1cl_options" and delete that row.
  4. Repeat for "wp1cl_headers_options" and "wp1cl_license_plan" if present.
  5. On the next admin page load, defaults are automatically restored.

Method 4: Deactivate and Reactivate the Plugin

Deactivating and reactivating WP 1 Click LockDown runs the activation hook, which calls ensure_options_exist(). This merges any missing options back to their defaults without overwriting options you have already customised — useful if you think only certain settings are corrupted.

⚠️

None of these methods remove the DISALLOW_FILE_EDIT line written to wp-config.php if it was previously added. To undo that change, open wp-config.php via FTP and manually remove the "WP 1 Click LockDown managed constants" block.

Was this article helpful?

Need more help? Contact our support team →

Ready to secure your WordPress site?

Install WP 1 Click LockDown and harden your site in under 60 seconds.