WPDev.one
Core Function
View Source on Trac ↗

get_plugin_page_hookname()

get_plugin_page_hookname( mixed $plugin_page, mixed $parent_page )

Gets the hook name for 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)
Hook name for the plugin page.

Function Information

Since Version
1.5.0
Source File
wp-admin/includes/plugin.php
Advertisement