get_plugin_page_hook


get_plugin_page_hook ( $plugin_page, $parent_page )

Parameters:
  • (string) plugin_page The slug name of the plugin page.
  • (string) parent_page The slug name for the parent menu (or the file name of a standard WordPress admin page).
Returns:
  • (string|null) Hook attached to the plugin page, null otherwise.
Defined at:

Description

Gets the hook attached to the administrative page of a plugin.

Related Functions

get_plugin_page_hookname, get_plugin_updates, is_plugin_page, get_plugin_data, get_plugin_files

Top Google Results

User discussions

wpseek mobile