WP_Scripts::do_head_items()publicWP 2.8.0

Processes items and dependencies for the head group.

Method of the class: WP_Scripts{}

No Hooks.

Return

String[]. Handles of items that have been processed.

Usage

global $wp_scripts;
$wp_scripts->do_head_items();

Notes

Changelog

Since 2.8.0 Introduced.

WP_Scripts::do_head_items() code WP 6.1.1

public function do_head_items() {
	$this->do_items( false, 0 );
	return $this->done;
}