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