wp_default_scripts


wp_default_scripts ( $scripts )

Parameters:
  • (WP_Scripts) $scripts WP_Scripts object.
Defined at:

Description

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

Related Functions

wp_default_styles, wp_dequeue_script, wp_default_editor, wp_enqueue_scripts, _wp_footer_scripts

Top Google Results

User discussions

wpseek mobile