protected function get_transient()
{
$repo = isset($this->type->repo) ? $this->type->repo : 'ghu';
$transient = 'ghu-' . md5($repo);
/**
* Filter to allow advanced caching plugins to control retrieval of transients.
*
* @since 6.0.0
* @return bool
*/
if (false === apply_filters('ghu_use_remote_call_transients', true)) {
return false;
}
return get_site_transient($transient);
}