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
See also
Return
(string[]) Handles of items that have been processed.
Source
File: wp-includes/class.wp-scripts.php
public function do_head_items() {
$this->do_items( false, 0 );
return $this->done;
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |