/
githubmirror
/
gutenberg
Обзор
Документация
Войти
/
githubmirror
/
gutenberg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
packages/e2e-tests/plugins/observe-typing.php
28 строк
630 B
Ryan Welcher
Move Posts Per Page, Offset, and Pages controls from the block toolbar into Inspector Controls (#58207)
06 авг 2024, 17:05
Не верифицирован
06 авг 2024, 17:05
a52b951
Код
Авторство
О чём код?
<?php /** * Plugin Name: Gutenberg Test Observe Typing * Plugin URI: https://github.com/WordPress/gutenberg * Author: Gutenberg Team * * @package gutenberg-test-block-api */ /** * Registers a custom script for the plugin. */ function enqueue_observe_typing_plugin_script() { wp_enqueue_script( 'gutenberg-test-observe-typing', plugins_url( 'observe-typing/index.js', __FILE__ ), array( 'wp-blocks', 'wp-block-editor', 'wp-components', 'wp-element', ), filemtime( plugin_dir_path( __FILE__ ) . 'observe-typing/index.js' ), true ); } add_action( 'init', 'enqueue_observe_typing_plugin_script' );