brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: wp plugin list --update=available shows which wordpress plugins have an update

WordPress
~/tips/tip-wordpress-plugin-list-update-available

wp plugin list --update=available --fields=name,version,update_version

Lists only the plugins that have a newer version available, with installed and offered versions.

Before I click anything in the dashboard I like to see the list of pending plugin updates on the command line.

wp plugin list --update=available --fields=name,version,update_version

The --update=available filter hides every plugin that is up to date, and --fields limits the table to the name, the installed version and the version that is on offer. Add --format=json if you want to feed the result to a script. The list comes from the update data WordPress has stored, and plugins with their own update server may not show up. wp plugin list --skip-update-check skips the lookup for the update data. The same field filter works for wp theme list.

Further reading: WP-CLI: wp plugin list

More WordPress tips wp user application-password create anna backup-script --porcelain define( 'MEDIA_TRASH', true ); wp cli check-update wp theme delete --all wp media image-size All WordPress tips (85) All topics

Link