load-{$plugin_page} WordPress Action Hook

The load-{$plugin_page} hook is used to load a plugin's page. This hook is called when a plugin's page is loaded.

do_action( "load-{$plugin_page}" ) #

Fires before a particular screen is loaded.


Description

The load-* hook fires in a number of contexts. This hook is for plugin screens where the file to load is directly included, rather than the use of a function.

The dynamic portion of the hook name, $plugin_page, refers to the plugin basename.

Top ↑

See also


Top ↑

Source

File: wp-admin/admin.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
1.5.0Introduced.

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.