The load-* hook fires in a number of contexts. This hook is for plugin screens where a callback is provided when the screen is registered. The dynamic portion of the hook name, $page_hook, refers to a mixture of plugin page information including: <ol> <li>The page type. If the plugin page is registered as a submenu page, such as for Settings, the page type would be 'settings'. Otherwise the type is 'toplevel'.</li> <li>A separator of '<em>page</em>'.</li> <li>The plugin basename minus the file extension.</li> </ol> Together, the three parts form the $page_hook. Citing the example above, the hook name used would be 'load-settings_page_pluginbasename'.
236* the hook name used would be 'load-settings_page_pluginbasename'.237*238* @see get_plugin_page_hook()239*240* @since 2.1.0241*/242do_action("load-{$page_hook}");// phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores243if(!isset($_GET['noheader'])){244require_onceABSPATH.'wp-admin/admin-header.php';245}246247/**248* Used to call the registered callback for a plugin screen.
History
Introduced in 2.1.0. Unchanged from 6.7.7 through 7.1.0.