I'm running this code to tell me what plugins need updating:
$update_plugins = get_site_transient('update_plugins');
Here is an example return:
Array ( [login-lockdown/loginlockdown.php] => stdClass Object ( [id] => 3760 [slug] => login-lockdown [new_version] => v1.5 [url] => http://wordpress.org/extend/plugins/login-lockdown/ [package] => http://downloads.wordpress.org/plugin/login-lockdown.1.5.zip ) )
From that it doesn't tell me the name of the plugin that needs updating. Is there a WordPress function that you can feed the plugin file name like:
ogin-lockdown/loginlockdown.php and return the plugin name? In this case I'd want
Login LockDown to be returned.