Apr
12

Disable or Enable WordPress Plugins using Database

By admin  //  PHP  //  No Comments

If you want to Disable or Enable All WordPress Plugins using the Database this is simple. Open PHPmyAdmin and write SQL.

SELECT * FROM wp_options WHERE option_name = ‘active_plugins’;

A single record with active_plugin name will come, click edit then you will see below style code…. empty code and click go…

a:31:{i:0;s:13:”AddMySite.php”;i:1;s:19:”akismet/akismet.php”;i:2;s:23:”all_in_one_seo_pack.php”;i:3;s:16:”authenticate.php”;}

Or you could just use below SQL to empty active_plugins

UPDATE wp_options SET option_value = ” WHERE option_name = ‘active_plugins’;

For More information you can vist perishablepress.com

Leave a comment