Yoast\WP\SEO\Generated

Cached_Container::getWooCommerceConditionalService()protectedYoast 1.0

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

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Conditionals\WooCommerce_Conditional.

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

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

Код Cached_Container::getWooCommerceConditionalService() Yoast 19.11

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