I manage a lot of WordPress websites and want to create a system that allows me to check how many plugins on a given site need updating.
So basically what I need is a custom function that returns the number of plugins that are out of date and need updating. I have searched the developer documentation but cannot find a specific function that does this.
Thanks in advance!
I don’t know what your “system” as a whole is intended to look like but the function you want is
I would highly recommend using WP-CLI for this. It has many handy commands including plugin related. Hope this helps!