Yoast\WP\SEO\Generated
Cached_Container::getWooCommerceConditionalService()
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() Cached Container::getWooCommerceConditionalService Yoast 23.4
protected function getWooCommerceConditionalService() { return $this->services['Yoast\\WP\\SEO\\Conditionals\\WooCommerce_Conditional'] = new \Yoast\WP\SEO\Conditionals\WooCommerce_Conditional(); }