WordPress Hooks Explorer

Listing all hooks extracted WordPress Core

Details about load-page

Back to home


Filename Hook Type Line Number PHP Doc
wp-admin/admin.php do_action 395 /**
* 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 screen, such as 'admin.php',
* 'post-new.php' etc. A complete hook for the latter would be
* 'load-post-new.php'.
* @since 2.1.0
do_action( "load-{$pagenow}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores

* The following hooks are fired to ensure backward compatibility.
* In all other cases, 'load-' . $pagenow should be used instead.

Hook Parameters

Parameter Type Name Description