wp_default_packages

Advertisement

Summery Summery

Registers all the WordPress packages scripts.

Syntax Syntax

wp_default_packages( WP_Scripts $scripts )

Parameters Parameters

$scripts

(WP_Scripts) (Required) WP_Scripts object.

Source Source

File: wp-includes/script-loader.php

 */
function wp_default_packages( $scripts ) {
	wp_default_packages_vendor( $scripts );
	wp_register_tinymce_scripts( $scripts );
	wp_default_packages_scripts( $scripts );

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

Advertisement

Changelog Changelog

Changelog
Version Description
5.0.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.