Unlock Hidden Powers: Transform Your WordPress Workflow with WP-CLI Today!
This can be especially useful if the site has become unresponsive due to a plugin-related issue that’s preventing you from accessing WP Admin and deactivating the plugin via the browser.
Some of your options for deactivating plugins include deactivating a specific plugin by name, using the –all flag to deactivate all plugins, and deactivating all plugins except for specific ones.
For example, to deactivate a specific plugin, use the following command:
wp plugin deactivate akismet
To deactivate all plugins, use this command:
								


                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
Post Comment