Yoast\WP\SEO\Generated

Cached_Container::getOpenGraphOEmbedService()protectedYoast 1.0

Gets the public 'Yoast\WP\SEO\Integrations\Front_End\Open_Graph_OEmbed' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Integrations\Front_End\Open_Graph_OEmbed.

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

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

Код Cached_Container::getOpenGraphOEmbedService() Yoast 22.4

protected function getOpenGraphOEmbedService()
{
    return $this->services['Yoast\\WP\\SEO\\Integrations\\Front_End\\Open_Graph_OEmbed'] = new \Yoast\WP\SEO\Integrations\Front_End\Open_Graph_OEmbed(${($_ = isset($this->services['Yoast\\WP\\SEO\\Surfaces\\Meta_Surface']) ? $this->services['Yoast\\WP\\SEO\\Surfaces\\Meta_Surface'] : $this->getMetaSurfaceService()) && false ?: '_'});
}