Yoast\WP\SEO\Generated

Cached_Container::getExcludeWooCommercePostTypesService()protectedYoast 1.0

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() Yoast 20.0

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();
}