WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
событие не описано

admin_print_scripts-(hook_suffix) хук-событие . WP 2.1.0

Fires when scripts are printed for a specific admin page based on $hook_suffix.

Использование

add_action( 'admin_print_scripts-(hook_suffix)', 'action_function_name_9106' );
function action_function_name_9106(){
	// action...
}

Список изменений

С версии 2.1.0 Введена.

Где вызывается хук

В файле: /wp-admin/admin-header.php
admin_print_scripts-(hook_suffix)
wp-admin/admin-header.php 125
do_action( "admin_print_scripts-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
wp-admin/includes/template.php 1989
do_action( "admin_print_scripts-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores

Где используется хук (в ядре WP)

wp-admin/includes/admin-filters.php 53
add_action( 'admin_print_scripts-post.php', 'wp_page_reload_on_back_button_js' );
wp-admin/includes/admin-filters.php 54
add_action( 'admin_print_scripts-post-new.php', 'wp_page_reload_on_back_button_js' );
wp-admin/includes/class-custom-image-header.php 78
add_action( "admin_print_scripts-{$page}", array( $this, 'js_includes' ) );
wp-includes/default-filters.php 500
add_action( 'admin_print_scripts-index.php', 'wp_localize_community_events' );
wp-includes/widgets/class-wp-widget-custom-html.php 74
add_action( 'admin_print_scripts-widgets.php', array( $this, 'enqueue_admin_scripts' ) );
wp-includes/widgets/class-wp-widget-media.php 110
add_action( 'admin_print_scripts-widgets.php', array( $this, 'enqueue_admin_scripts' ) );
wp-includes/widgets/class-wp-widget-text.php 65
add_action( 'admin_print_scripts-widgets.php', array( $this, 'enqueue_admin_scripts' ) );