sdk_would_be_loaded()) { return; } return 'RETRY'; } $transient = get_site_transient('update_plugins'); if (! is_object($transient)) { return; } if (isset($transient->response[BLOCKSY_PLUGIN_BASE])) { return; } if (isset($transient->no_update[BLOCKSY_PLUGIN_BASE])) { return; } set_site_transient('update_plugins', $transient); } private function sdk_would_be_loaded() { if (is_admin()) { return true; } if (wp_doing_cron()) { return true; } if (defined('WP_CLI') && WP_CLI) { return true; } return false; } }