/
githubmirror
/
gutenberg
Обзор
Документация
Войти
/
githubmirror
/
gutenberg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
packages/e2e-tests/plugins/block-templates.php
17 строк
362 B
Hiroshi Urabe
Fix broken the post-template-editor test. (#32904)
23 июн 2021, 13:17
Не верифицирован
23 июн 2021, 13:17
0323dba
Код
Авторство
О чём код?
<?php /** * Plugin Name: Gutenberg Test Block Templates * Plugin URI: https://github.com/WordPress/gutenberg * Author: Gutenberg Team * * @package gutenberg-test-block-templates */ /** * Activate Block Templates. */ function enqueue_block_templates() { add_theme_support( 'block-templates' ); } add_action( 'setup_theme', 'enqueue_block_templates' );