Summery Summery
Hooks to print the scripts and styles in the footer.
Syntax Syntax
Source Source
File: wp-includes/script-loader.php
wp_register_script( 'wp-block-styles', false, array( 'wp-blocks' ), true, true ); wp_add_inline_script( 'wp-block-styles', $inline_script ); wp_enqueue_script( 'wp-block-styles' ); } /** * Enqueues the assets required for the block directory within the block editor. *
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |