deactivate all wordpress plugins

/ Published in: PHP
Save to your folder(s)

Copy this code and paste it in your HTML
  1. UPDATE wp_options SET option_value = '' WHERE option_name = 'active_plugins';
  2. /*Or: just rename the wp-content/plugins/ folder.
  3. You will have to manually reactivate the plugins after you rename the plugins folder back to its original name, but all plugin options are preserved too.
  4. */

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.