wp_default_scripts
wp_default_scripts ( $scripts )
Parameters:- (WP_Scripts) scripts WP_Scripts object.
Defined at: - Introduced in WordPress: 2.6.0
- Deprecated in WordPress: —
Description
Registers 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