/
githubmirror
/
gutenberg
Обзор
Документация
Войти
/
githubmirror
/
gutenberg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
packages/e2e-tests/plugins/inner-blocks-templates.php
30 строк
719 B
Daniel Richards
Fix another e2e test function name (#29745)
11 мар 2021, 03:54
Не верифицирован
11 мар 2021, 03:54
79b576b
Код
Авторство
О чём код?
<?php /** * Plugin Name: Gutenberg Test InnerBlocks Templates * Plugin URI: https://github.com/WordPress/gutenberg * Author: Gutenberg Team * * @package gutenberg-test-inner-blocks-templates */ /** * Registers a custom script for the plugin. */ function enqueue_inner_blocks_templates_plugin_script() { wp_enqueue_script( 'gutenberg-test-inner-blocks-templates', plugins_url( 'inner-blocks-templates/index.js', __FILE__ ), array( 'wp-blocks', 'wp-components', 'wp-element', 'wp-block-editor', 'wp-hooks', 'wp-i18n', ), filemtime( plugin_dir_path( __FILE__ ) . 'inner-blocks-templates/index.js' ), true ); } add_action( 'init', 'enqueue_inner_blocks_templates_plugin_script' );