admin_print_scripts-widgets.php
This action is documented in wp-admin/admin-header.php
Usage
add_action( 'admin_print_scripts-widgets.php', 'wp_kama_admin_print_scripts_widgets.php_action' ); /** * Function for `admin_print_scripts-widgets.php` action-hook. * * @return void */ function wp_kama_admin_print_scripts_widgets.php_action(){ // action... }
Where the hook is called
admin_print_scripts-widgets.php
wp-includes/class-wp-customize-widgets.php 684
do_action( 'admin_print_scripts-widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
Where the hook is used in WordPress
wp-includes/widgets/class-wp-widget-custom-html.php 76
add_action( 'admin_print_scripts-widgets.php', array( $this, 'enqueue_admin_scripts' ) );
wp-includes/widgets/class-wp-widget-media.php 114
add_action( 'admin_print_scripts-widgets.php', array( $this, 'enqueue_admin_scripts' ) );
wp-includes/widgets/class-wp-widget-text.php 67
add_action( 'admin_print_scripts-widgets.php', array( $this, 'enqueue_admin_scripts' ) );