Yoast\WP\SEO\Generated
Cached_Container::getExcludeWooCommercePostTypesService()
Gets the public 'Yoast\WP\SEO\Integrations\Third_Party\Exclude_WooCommerce_Post_Types' shared autowired service.
Метод класса: Cached_Container{}
Хуков нет.
Возвращает
\Yoast\WP\SEO\Integrations\Third_Party\Exclude_WooCommerce_Post_Types
.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->getExcludeWooCommercePostTypesService();
Код Cached_Container::getExcludeWooCommercePostTypesService() Cached Container::getExcludeWooCommercePostTypesService Yoast 23.4
protected function getExcludeWooCommercePostTypesService() { return $this->services['Yoast\\WP\\SEO\\Integrations\\Third_Party\\Exclude_WooCommerce_Post_Types'] = new \Yoast\WP\SEO\Integrations\Third_Party\Exclude_WooCommerce_Post_Types(); }