Tag Archives: wp_print_scripts

wp_print_scripts

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.

4001

Continue reading

wp_print_head_scripts

Prints the script queue in the HTML head on the front end.Postpones the scripts that were queued for the footer. wp_print_footer_scripts() is called in the footer to print these scripts.

3999

Continue reading

print_head_scripts

Prints the script queue in the HTML head on admin pages.Postpones the scripts that were queued for the footer. print_footer_scripts() is called in the footer to print these scripts.

2629

Continue reading