wp_print_head_scripts

Advertisement

Summery Summery

Prints the script queue in the HTML head on the front end.

Syntax Syntax

wp_print_head_scripts()

Description Description

Postpones the scripts that were queued for the footer. wp_print_footer_scripts() is called in the footer to print these scripts.

Return Return

(array)

Source Source

File: wp-includes/script-loader.php

	}
}

/**
 * Function responsible for enqueuing the assets required for block styles functionality on the editor.
 *
 * @since 5.3.0
 */
function enqueue_editor_block_styles_assets() {
	$block_styles = WP_Block_Styles_Registry::get_instance()->get_all_registered();

	$register_script_lines = array( '( function() {' );
	foreach ( $block_styles as $block_name => $styles ) {

Advertisement

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Advertisement

Leave a Reply