Core Function
View Source on Trac ↗ get_plugin_page_hook()
get_plugin_page_hook( mixed $plugin_page, mixed $parent_page ) Gets the hook attached to the administrative page of a plugin.
Parameters 2 required
| Name / Type | Description |
|---|---|
| $plugin_page string | The slug name of the plugin page. Required |
| string | $parent_page The slug name for the parent menu (or the file name of a standard WordPress admin page). Required |
Return Value
((string)
| null) Hook attached to the plugin page, null otherwise.
Function Information
Since Version
1.5.0
Source File
wp-admin/includes/plugin.php
Advertisement