wp_default_scripts


wp_default_scripts ( $scripts )

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

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

Related Functions

wp_default_script_modules, wp_default_packages_scripts, wp_default_styles, wp_default_editor, wp_dequeue_script

Top Google Results

User discussions

wpseek mobile