The simplest way is probably renaming the plugin file or folder.
But if you’re trying to handle it directly from the database, you’d have to grab the ‘active_plugins’ value from the wp_options table, unserialize it, remove your plugin from the array and reserialize it and update. You don’t necessarily have to use update_option.
You could also look into a command line tool like WP-CLI. With that installed, deactivating a plugin is a simple command from the BASH shell, like wp plugin deactivate plugin-name.
Related Posts:
- Uninstall, Activate, Deactivate a plugin: typical features & how-to
- disable active plugins for specific theme
- OOP: Display warning and deactivate the plugin if PHP version is less than 5.4
- Deactivate plugin upon deactivation of another plugin
- Show a confirmation message on plugin deactivation
- Do you clean up your self-written plugins’ at deactivation?
- Can a plugin deactivate itself?
- How to automate wordpress plugin activate and deactivate by php logic?
- Deactivate Plugin on Theme Switch
- Plugin Deactivate Self on Activation Errors
- Why my Plugin keeps deactivating automatically?
- Prevent a plugin from being automatically activated
- How to deactivate my plugin upon deactivation of NextGen
- My plugin does not install correctly if a previous version is still installed
- Unset plugins on front-end belonging to specific category
- Different plugins activated online and offline
- Is it possible to run javascript on plugin deactivated?
- How can I use WordPress functions in my stylesheet?
- How to delete the Hello Dolly plugin automatically?
- Where the Nickname is being used in WordPress
- Should a SEO plugin be necessary? [closed]
- How can I mass-update/save all WordPress posts and pages?
- Create plugin with 3rd party MIT license code
- Notice: wp_get_http is deprecated since version 4.4.0!
- How to check plugins for malicious code?
- How to use WP-FirePHP extension?
- WP plugin updates
- How to create a Page alias in WordPress
- Remove from Google Tags with less than 2 posts
- Adding dynamic section to WordPress
- woocommerce product attributes
- Yoast SEO blocking/re-initialising longer running process
- How can I rewrite a plugin generated URL?
- Add Fields with Sub-Fields to WP Job Manager
- template_redirect not being called when using ajax
- WordPress language switcher
- Restore a Plugin’s Default Settings
- Mass Import Users without sending new user notification
- WordPress login with Phone Number [closed]
- Disable wp_enqueue_styles action for specific page
- How to correctly detect accessing wp-content/uploads?
- Getting RGBA colour from gutenberg colourpicker
- How to generate CSS from a shortcode within a plugin
- Using jquery migrate for plugins incompatible with jquery 1.10.2
- Disable multisite-wide plugins on specific sites
- WordPress plugin – Error “Plugin generate 2890 characters of unexpected output when activated”
- What is the correct way to update both WP/plugins/themes without breaking the site?
- Override global query results without hooks
- Adding a slider captcha to the comment system
- Rotating background images with admin options
- How to merge two .PO language files?
- how to access all user dashboard on fronted page [closed]
- Display Swift Snippets in WordPress
- Add custom JavaScript that is a combination of CDN/uploaded files and easily-edited code?
- Wysiwyg editor errors
- AFNetworking incorrectly interpreted WP_Error
- Malware installation during plugin update?
- Conditional tag in Widget Logic for checking if top level page or if subpage
- Add script into front from my plugin
- Make thumbnails on product-category pages the same size [WooCommerce] [closed]
- how to change automatic placing of social plugins below content?
- Multisite for Multisite?
- Basic function call on init failing
- Display a consistent Google Plus icon on ALL pages of my site
- How to accept images at multiple sizes and aspect ratios and display as standardized image size / ratio?
- Mutliple users editing single document in wordspress
- Blocking Plugin Css to load custom in template directory
- Plugin: connect to external database without showing password
- Woocommerce: Set thumbnail detail (clipping area)
- How can I create custom in-post templates?
- Filtered content appears in the excerpt
- How to disable Wp-PageNavi at the top of the page
- Use a hook or filter, or overwrite this Gamipress function?
- Hook from plugin doesn’t fire up from external PHP script
- SMTP emails not picking up the correct From name and From email
- What database state changes happen after a post is manually “updated” with no changes?
- Wp-cron.php firing too many times , even disabled in wordpress wp-config.php,
- custom fields not displaying on wordpress site
- Show post object of any page in frontend
- after logout session not destroy from server/website side
- How To Toggle User_Meta in frontend in a form using PHP
- How to update a database entry with a wordpress plugin?
- How can I store user preferences in WordPress and retreive them later?
- Get only selected custom taxonomy
- Plugin debugging with errors in activation routine
- WordPress update plugin through Dashboard/Plugins displaying error
- DB Sync Media Files extension [closed]
- Alter add_meta_box
- Authenticating custom field on login
- Disable default posts (Posts,Pages,Comments and Media) in wp-admin
- How to get rid of error message of custom metabox in dashboard when moving out of edit page?
- Create plugin with form in post and submit it to specific form
- Is it right way to create shortcode?
- Storing values in Post Meta vs new tables
- Translate Woosidebars plugin strings
- How to add different CSS for galleries
- Why my site loads too Slow? [closed]
- How should I force WordPress to give proper name for the uploading images?
- Set the Social Icon Size in footer
- Use custom Javascript for a custom Elementor Widget [closed]