load-page.php WordPress Action Hook

The load-page.php hook is one of the most important hooks in WordPress. It is called when a page is loaded. This hook can be used to load data from a database or file, or to initialize data for the page.

do_action( 'load-page.php' ) #


More Information

Runs when an administration menu page is loaded. This action is not usually added directly — see Administration Menus for more details of how to add admin menus. If you do want to use it directly, the return value from add_options_page and similar functions gives you the (page) part of the action name.


Top ↑

Source

File: wp-admin/admin.php

View on Trac

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.