how to deactivate plugin in wordpress code example
Example 1: wordpress plugin deactivate from database
Wordpress plugin deactivate from database
Step 1: Open phpMyAdmin
Step 2: Select WordPress Database
Step 3: Open options Table
Step 4: Edit active_plugins Value
enter a:0:{} in the option_value box
https://kinsta.com/knowledgebase/disable-wordpress-plugins/
Example 2: deactivate auto update wordpress plugins
add_filter( 'plugins_auto_update_enabled', '__return_false' );