How to disable WordPress plugin from database?


You can disable all WordPress plugin at once from a single MySQL query. This will be faster to disable all plugins through command line. You need to disable plugins if you want upgrade the WordPress site. Following MySQL command will helpful for you.

UPDATE wp_options SET option_value = '' WHERE option_name = 'active_plugins';

Above command will replace the active_plugins’s field value to a blank string. Which means all plugins of that site will be disabled in site backend. Dont’ worry plugins folder still presents in theme directory ,because above command do not delete the plugin folder.

Advertisements

3 thoughts on “How to disable WordPress plugin from database?”

  1. Your style is so unique compared to other people I’ve read stuff from.
    Thank you for posting when you have the opportunity, Guess
    I’ll just book mark this page.

  2. Hey There. I discovered your blog the usage of
    msn. That is an extremely well written article. I’ll be sure to bookmark it and come back
    to learn more of your helpful information. Thank you for the post.
    I will certainly return.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s