Yoast\WP\SEO\Generated
Cached_Container::getAttachmentRedirectionsEnabledConditionalService()
Gets the public 'Yoast\WP\SEO\Conditionals\Attachment_Redirections_Enabled_Conditional' shared autowired service.
Метод класса: Cached_Container{}
Хуков нет.
Возвращает
\Yoast\WP\SEO\Conditionals\Attachment_Redirections_Enabled_Conditional
.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->getAttachmentRedirectionsEnabledConditionalService();
Код Cached_Container::getAttachmentRedirectionsEnabledConditionalService() Cached Container::getAttachmentRedirectionsEnabledConditionalService Yoast 25.1
protected function getAttachmentRedirectionsEnabledConditionalService() { return $this->services['Yoast\\WP\\SEO\\Conditionals\\Attachment_Redirections_Enabled_Conditional'] = new \Yoast\WP\SEO\Conditionals\Attachment_Redirections_Enabled_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 ?: '_'}); }