A WordPress-centric search engine for devs and theme authors



load-{$plugin_page} ›

Since1.5.0
Deprecatedn/a
do_action( "load-{$plugin_page}" )
See:
  • plugin_basename()
Defined at:
Codex:

Fires before a particular screen is loaded.

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.





Source

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