public function hide_update_notice() { HookRegistrar::unregister('admin_notices', 'update_nag', 3); }