wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_enqueue_block_editor_script_modules › WordPress Function

Since6.9.0
已弃用n/a
› wp_enqueue_block_editor_script_modules ( 没有参数 )
定义在:
文档:

Enqueues script modules required by the block editor.



源码

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' );
}