protected function get_plugin_updates($plugin_file) { $plugin_updates = get_plugin_updates(); if (isset($plugin_updates[$plugin_file])) { return $plugin_updates[$plugin_file]->update; } return null; }