do_action( "load-{$pagenow}" )

Fires before a particular screen is loaded.


Description

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’.


Top ↑

Source

File: wp-admin/admin.php

View on Trac


Top ↑

Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.