Archive | /wp-includes/script-loader.php RSS feed for this section

wp_default_styles

Assign default styles to $styles object.Nothing is returned, because the $styles parameter is passed by reference. Meaning that whatever object is passed will be updated without having to reassign the variable that was passed back to the same value. This saves memory.

3577

Continue reading

wp_default_scripts

Register all WordPress scripts.Localizes some of them. args order: $scripts->add( ‘handle’, ‘url’, ‘dependencies’, ‘query-string’, 1 ); when last arg === 1 queues the script for the footer

3575

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