Yoast\WP\SEO\Generated

Cached_Container::getUserCanManageWpseoOptionsConditionalService()protectedYoast 1.0

Gets the public 'Yoast\WP\SEO\Conditionals\User_Can_Manage_Wpseo_Options_Conditional' shared autowired service.

{} Это метод класса: Cached_Container{}

Хуков нет.

Возвращает

\Yoast\WP\SEO\Conditionals\User_Can_Manage_Wpseo_Options_Conditional.

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->getUserCanManageWpseoOptionsConditionalService();

Код Cached_Container::getUserCanManageWpseoOptionsConditionalService() Yoast 19.7.1

protected function getUserCanManageWpseoOptionsConditionalService()
{
    return $this->services['Yoast\\WP\\SEO\\Conditionals\\User_Can_Manage_Wpseo_Options_Conditional'] = new \Yoast\WP\SEO\Conditionals\User_Can_Manage_Wpseo_Options_Conditional();
}