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 26.9
protected function getAttachmentRedirectionsEnabledConditionalService()
{
return $this->services['Yoast\\WP\\SEO\\Conditionals\\Attachment_Redirections_Enabled_Conditional'] = new \Yoast\WP\SEO\Conditionals\Attachment_Redirections_Enabled_Conditional(($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] ?? ($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] = new \Yoast\WP\SEO\Helpers\Options_Helper())));
}