WPDev.one
Core Function
View Source on Trac ↗

wp_print_scripts()

wp_print_scripts( mixed $handles = false )

Prints scripts in document head that are in the $handles queue.

Parameters 1 required

Name / Type Description
(string

| string[] | false) $handles Optional. Scripts to be printed. Default 'false'.

Required

Return Value

(string[])
On success, an array of handles of processed WP_Dependencies items; otherwise, an empty array.

Function Information

Since Version
2.1.0
Source File
wp-includes/functions.wp-scripts.php
Advertisement