Unlock Hidden Powers: Transform Your WordPress Workflow with WP-CLI Today!
You can add flags to the wp plugin list command to modify what it returns, such as:
wp plugin list --update=available
This command will only list the plugins that have an update available.
You can see all the flags available for a specific command by adding the –help flag to it.
For example:
wp plugin list --help
wp plugin update
If the site you’re working on has plugins installed that are hosted in the WordPress.org Plugin Directory and have an update available, they can be updated using the following command:
								


                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
Post Comment