Skip to content

Instantly share code, notes, and snippets.

@sebastianmoran-mainwp
Created January 29, 2019 16:32
Show Gist options
  • Save sebastianmoran-mainwp/e8e1ba98e08795080297998ac7ba58c5 to your computer and use it in GitHub Desktop.
Save sebastianmoran-mainwp/e8e1ba98e08795080297998ac7ba58c5 to your computer and use it in GitHub Desktop.
Delete all MainWP option values using WP-CLI
# delete all mainwp option values
wp option delete _transient_mainwp_child_tran_name_plugin_timestamps
wp option delete _transient_mainwp_child_tran_name_theme_timestamps
wp option delete _transient_mainwp_ein_59EQyHXJhRFylOa1QGZJyjrizI8vVY
wp option delete _transient_mainwp_ein_ak5h4RlahMYHmr7UscuqFbuYnC3XaO
wp option delete _transient_mainwp_ein_D6nV6bKuRGRlI2EOSuW2bVnSPVVZpf
wp option delete _transient_mainwp_ein_lhbqZD1nc2s65L7iabQcqITJXrKKMD
wp option delete _transient_mainwp_ein_PbrrgoHO8O2DHYQkingQBr0BIjGbKZ
wp option delete _transient_mainwp_ein_R9v4u8Tlb75rmXbiWlSdh5C63Em0sa
wp option delete _transient_mainwp_ein_W9P131X43VNKQGkXBYfYH7PlvkAHGh
wp option delete _transient_timeout_mainwp_child_tran_name_plugin_timestamps
wp option delete _transient_timeout_mainwp_child_tran_name_theme_timestamps
wp option delete mainwp_backupwordpress_ext_enabled
wp option delete mainwp_branding_button_contact_label
wp option delete mainwp_branding_child_hide
wp option delete mainwp_branding_disable_change
wp option delete mainwp_branding_disable_switching_theme
wp option delete mainwp_branding_disable_wp_branding
wp option delete mainwp_branding_ext_enabled
wp option delete mainwp_branding_extra_settings
wp option delete mainwp_branding_message_return_sender
wp option delete mainwp_branding_plugin_header
wp option delete mainwp_branding_preserve_branding
wp option delete mainwp_branding_remove_connection_detail
wp option delete mainwp_branding_remove_permalink
wp option delete mainwp_branding_remove_restore
wp option delete mainwp_branding_remove_server_info
wp option delete mainwp_branding_remove_setting
wp option delete mainwp_branding_remove_wp_setting
wp option delete mainwp_branding_remove_wp_tools
wp option delete mainwp_branding_send_email_message
wp option delete mainwp_branding_show_support
wp option delete mainwp_branding_submit_button_title
wp option delete mainwp_branding_support_email
wp option delete mainwp_branding_support_message
wp option delete mainwp_child_activated_once
wp option delete mainwp_child_auth
wp option delete mainwp_child_branding_disconnected
wp option delete mainwp_child_click_data
wp option delete mainwp_child_clone_from_server_last_folder
wp option delete mainwp_child_clone_sites
wp option delete mainwp_child_fix_htaccess
wp option delete mainwp_child_htaccess_set
wp option delete mainwp_child_legacy
wp option delete mainwp_child_nonce
wp option delete mainwp_child_nossl
wp option delete mainwp_child_nossl_key
wp option delete mainwp_child_plugin_last_daily_run
wp option delete mainwp_child_plugin_version
wp option delete mainwp_child_pluginDir
wp option delete mainwp_child_plugintheme_days_outdate
wp option delete mainwp_child_pubkey
wp option delete mainwp_child_remove_core_updates
wp option delete mainwp_child_remove_php_reporting
wp option delete mainwp_child_remove_plugin_updates
wp option delete mainwp_child_remove_readme
wp option delete mainwp_child_remove_rsd
wp option delete mainwp_child_remove_scripts_version
wp option delete mainwp_child_remove_styles_version
wp option delete mainwp_child_remove_theme_updates
wp option delete mainwp_child_remove_wlw
wp option delete mainwp_child_remove_wp_version
wp option delete mainwp_child_reports_check_to_copy_data
wp option delete mainwp_child_reports_copied_data_ok
wp option delete mainwp_child_reports_db
wp option delete mainwp_child_server
wp option delete mainwp_child_subpages
wp option delete mainwp_child_theme_last_daily_run
wp option delete mainwp_child_uniqueId
wp option delete mainwp_child_update_version
wp option delete mainwp_child_wordfence_cron_time
wp option delete mainwp_creport_first_time_activated
wp option delete mainwp_creport_hide_child_plugins
wp option delete mainwp_ithemes_ext_enabled
wp option delete mainwp_keyword_links_htaccess_set
wp option delete mainwp_kwl_click_statistic_data
wp option delete mainwp_kwl_enable_statistic
wp option delete mainwp_kwl_keyword_links
wp option delete mainwp_kwl_options
wp option delete mainwp_kwl_statistic_data_
wp option delete mainwp_lasttime_backup_backupwordpress
wp option delete mainwp_lasttime_backup_backwpup
wp option delete mainwp_lasttime_backup_updraftplus
wp option delete mainwp_lasttime_backup_wptimecapsule
wp option delete mainwp_maintenance_opt_alert_404
wp option delete mainwp_maintenance_opt_alert_404_email
wp option delete mainwp_pagespeed_ext_enabled
wp option delete mainwp_premium_updates
wp option delete mainwp_temp_clone_plugins
wp option delete mainwp_temp_clone_themes
wp option delete mainwp_time_capsule_ext_enabled
wp option delete mainwp_updraftplus_ext_enabled
wp option delete mainwp_wordfence_ext_enabled
wp option delete mainwp_wordfence_hide_plugin
wp option delete mainwp_wordfence_lastcheck_scan
wp option delete mainwp_wp_staging_ext_enabled
wp option delete mainwp_wp_stream
wp option delete mainwp_wprocket_ext_enabled
wp option delete mainwpKeywordLinks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment