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

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

Fires before a particular screen is loaded.

The load-* hook fires in a number of contexts. This hook is for core screens.

The dynamic portion of the hook name, $pagenow, is a global variable referring to the filename of the current page, such as 'admin.php', 'post-new.php' etc. A complete hook for the latter would be 'load-post-new.php'.


add_action( 'load-(pagenow)', 'action_function_name_7921' );
function action_function_name_7921(){
	// action...

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

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

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

В файле: /wp-admin/admin.php
wp-admin/admin.php 365
do_action( "load-{$pagenow}" );

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

wp-admin/custom-background.php 70
add_action( "load-$page", array( $this, 'admin_load' ) );
wp-admin/custom-background.php 71
add_action( "load-$page", array( $this, 'take_action' ), 49 );
wp-admin/custom-background.php 72
add_action( "load-$page", array( $this, 'handle_upload' ), 49 );
wp-admin/includes/admin-filters.php 116
add_action( 'load-plugins.php', 'wp_plugin_update_rows', 20 ); // After wp_update_plugins() is called.
wp-admin/includes/admin-filters.php 117
add_action( 'load-themes.php', 'wp_theme_update_rows', 20 ); // After wp_update_themes() is called.
wp-admin/includes/admin-filters.php 50
add_action( 'load-tools_page_export_personal_data', '_wp_privacy_requests_screen_options' );
wp-admin/includes/admin-filters.php 51
add_action( 'load-tools_page_remove_personal_data', '_wp_privacy_requests_screen_options' );
wp-includes/update.php 808
add_action( 'load-plugins.php', 'wp_update_plugins' );
wp-includes/update.php 809
add_action( 'load-update.php', 'wp_update_plugins' );
wp-includes/update.php 810
add_action( 'load-update-core.php', 'wp_update_plugins' );
wp-includes/update.php 814
add_action( 'load-themes.php', 'wp_update_themes' );
wp-includes/update.php 815
add_action( 'load-update.php', 'wp_update_themes' );
wp-includes/update.php 816
add_action( 'load-update-core.php', 'wp_update_themes' );