WordPress deactivate plugin programmatically code example
Example: deactivate auto update wordpress plugins
add_filter( 'plugins_auto_update_enabled', '__return_false' );
add_filter( 'plugins_auto_update_enabled', '__return_false' );