WordPress как на ладони
Очень Удобный и Быстрый Хостинг для сайтов на WordPress. Пользуюсь сам и вам рекомендую!
функция не описана

Yoast\WP\SEO\Generated

Cached_Container::getSchemaBlocksService() protected Yoast 1.0

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

Ищем WP-разработчика! Фулл-тайм, удаленка, хорошая зарплата, соц. пакет. Подробности.
Компания Boosta.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Integrations\Schema_Blocks.

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

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

Код Cached_Container::getSchemaBlocksService() Yoast 17.7.1

protected function getSchemaBlocksService()
{
    $this->services['Yoast\\WP\\SEO\\Integrations\\Schema_Blocks'] = $instance = new \Yoast\WP\SEO\Integrations\Schema_Blocks(${($_ = isset($this->services['WPSEO_Admin_Asset_Manager']) ? $this->services['WPSEO_Admin_Asset_Manager'] : $this->getWPSEOAdminAssetManagerService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Conditionals\\Schema_Blocks_Conditional']) ? $this->services['Yoast\\WP\\SEO\\Conditionals\\Schema_Blocks_Conditional'] : ($this->services['Yoast\\WP\\SEO\\Conditionals\\Schema_Blocks_Conditional'] = new \Yoast\WP\SEO\Conditionals\Schema_Blocks_Conditional())) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Short_Link_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Short_Link_Helper'] : $this->getShortLinkHelperService()) && false ?: '_'});

    $instance->register_template('src/schema-templates/cooking-time.block.php');
    $instance->register_template('src/schema-templates/cooking-time.schema.php');
    $instance->register_template('src/schema-templates/image.schema.php');
    $instance->register_template('src/schema-templates/preparation-time.block.php');
    $instance->register_template('src/schema-templates/preparation-time.schema.php');
    $instance->register_template('src/schema-templates/recipe-description.block.php');
    $instance->register_template('src/schema-templates/recipe-description.schema.php');
    $instance->register_template('src/schema-templates/recipe-ingredients.block.php');
    $instance->register_template('src/schema-templates/recipe-ingredients.schema.php');
    $instance->register_template('src/schema-templates/recipe-instructions.block.php');
    $instance->register_template('src/schema-templates/recipe-instructions.schema.php');
    $instance->register_template('src/schema-templates/recipe-name.block.php');
    $instance->register_template('src/schema-templates/recipe-name.schema.php');
    $instance->register_template('src/schema-templates/recipe.block.php');
    $instance->register_template('src/schema-templates/recipe.schema.php');

    return $instance;
}