WP_Customize_Widgets::print_scripts()

In this article

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

Source

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' );
}

Hooks

do_action( ‘admin_print_scripts’ )

Fires when scripts are printed for all admin pages.

Changelog

VersionDescription
3.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.