wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



load-{$plugin_page} › Les Actions WordPress

Depuis1.5.0
Dépréciéen/a
› do_action( "load-{$plugin_page}" )
Voir:
  • plugin_basename()
Défini(e) dans:
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}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores