wp_default_packages() – Registers all the WordPress packages scripts.

You appear to be a bot. Output may be restricted

Description

Registers all the WordPress packages scripts.

Usage

wp_default_packages( $scripts );

Parameters

$scripts
( WP_Scripts ) required – WP_Scripts object.

Returns

void

Source

File name: wordpress/wp-includes/script-loader.php


Lines:

1 to 13 of 13
function wp_default_packages( $scripts ) {
  wp_default_packages_vendor( $scripts );
  wp_register_development_scripts( $scripts );
  wp_register_tinymce_scripts( $scripts );
  wp_default_packages_scripts( $scripts );

  if ( did_action( 'init' ) ) {
    wp_default_packages_inline_scripts( $scripts );
  }
}
 

 View on GitHub View on Trac