How get list of updates of wp site?

i need to get a list of all updates the wp site need (core, plugin and themes). i already know about wp_get_update_data(), but it give me back only the number. i need to get for example:

plugin1 | actual version | new version

plugin2 | actual version | new version

theme1 | actual version | new version

wp | actual version | new version

how can i save that information into some arrays to use them?

Read more here:: How get list of updates of wp site?

Leave a Reply

Your email address will not be published. Required fields are marked *