WP_Scripts::do_head_items() WordPress Method

The WP_Scripts::do_head_items() method is used to print scripts that are needed in the section of the document. This includes the registered scripts, enqueued scripts, and inline scripts.

WP_Scripts::do_head_items() #

Processes items and dependencies for the head group.


Description

Top ↑

See also


Top ↑

Return

(string[]) Handles of items that have been processed.


Top ↑

Source

File: wp-includes/class.wp-scripts.php

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


Top ↑

Changelog

Changelog
VersionDescription
2.8.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.