wp_print_scripts

wp_print_scripts ( $handles = false )

See:
  • WP_Dependencies::print_scripts()
Defined at:

Description

Prints script tags in document head.

Called by admin-header.php and by wp_head hook. Since it is called by wp_head on every page load, the function does not instantiate the WP_Scripts object unless script names are explicitly passed. Does make use of already instantiated $wp_scripts if present. Use provided wp_print_scripts hook to register/enqueue new scripts.

Related Functions

_print_scripts, wp_print_head_scripts, wp_print_footer_scripts, wp_print_styles, print_head_scripts

Top Google Results

User discussions

wpseek mobile