WordPress at a glance
function is not described

WP_Customize_Widgets::print_scripts() public WP 3.9.0

Calls admin_print_scripts-widgets.php and admin_print_scripts hooks to allow custom scripts from plugins.

{} It's a method of the class: WP_Customize_Widgets{}

Return

Null. Nothing.

Usage

$WP_Customize_Widgets = new WP_Customize_Widgets();
$WP_Customize_Widgets->print_scripts();

Changelog

Since 3.9.0 Introduced.

Code of WP_Customize_Widgets::print_scripts() WP 5.5.1

<?php
public function print_scripts() {
	/** This action is documented in wp-admin/admin-header.php */
	do_action( 'admin_print_scripts-widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores

	/** This action is documented in wp-admin/admin-header.php */
	do_action( 'admin_print_scripts' );
}