wp_enqueue_block_editor_script_modules()
Enqueues script modules required by the block editor.
Хуков нет.
Возвращает
null. Ничего (null).
Использование
wp_enqueue_block_editor_script_modules();
Список изменений
| С версии 6.9.0 | Введена. |
Код wp_enqueue_block_editor_script_modules() wp enqueue block editor script modules WP 7.1.3
function wp_enqueue_block_editor_script_modules() {
/*
* Enqueue the LaTeX to MathML loader for the math block editor.
* The loader dynamically imports the main LaTeX to MathML module when needed.
*/
wp_enqueue_script_module( '@wordpress/latex-to-mathml/loader' );
}