Yoast\WP\SEO\Generated
Cached_Container::getCrawlCleanupSearchesService
Gets the public 'Yoast\WP\SEO\Integrations\Front_End\Crawl_Cleanup_Searches' shared autowired service.
Метод класса: Cached_Container{}
Хуков нет.
Возвращает
\Yoast\WP\SEO\Integrations\Front_End\Crawl_Cleanup_Searches.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->getCrawlCleanupSearchesService();
Код Cached_Container::getCrawlCleanupSearchesService() Cached Container::getCrawlCleanupSearchesService Yoast 26.9
protected function getCrawlCleanupSearchesService()
{
return $this->services['Yoast\\WP\\SEO\\Integrations\\Front_End\\Crawl_Cleanup_Searches'] = new \Yoast\WP\SEO\Integrations\Front_End\Crawl_Cleanup_Searches(($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] ?? ($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] = new \Yoast\WP\SEO\Helpers\Options_Helper())), ($this->services['Yoast\\WP\\SEO\\Helpers\\Redirect_Helper'] ?? ($this->services['Yoast\\WP\\SEO\\Helpers\\Redirect_Helper'] = new \Yoast\WP\SEO\Helpers\Redirect_Helper())));
}