You appear to be a bot. Output may be restricted
Description
Query if the menu subitem existsWe probably want to use get_plugin_page_hook()
Usage
$string|null = OIK_Plugin_Update::query_menu_subitem( $menu_slug, $parent );
Parameters
- $menu_slug
- ( string ) required – e.g. "oik_menu"
- $parent
- ( mixed ) required –
Returns
string|null the hookname it's registeredSource
File name: oik/libs/class-oik-plugin-update.phpLines:
1 to 4 of 4
function query_menu_subitem( $menu_slug, $parent ) { $hookname = get_plugin_page_hook( $menu_slug, $parent ); return( $hookname ); }View on GitHub View on Trac