You appear to be a bot. Output may be restricted
Description
Add the oik updates and Updates menu items if requiredIf oik or another plugin or theme has already added the oik_menu then we don't need to Otherwise we add the primary menu item and its first child
Usage
OIK_Plugin_Update::add_oik_menu();
Parameters
Returns
voidSource
File name: oik/libs/class-oik-plugin-update.phpLines:
1 to 7 of 7
function add_oik_menu() { $menu_slug = $this->query_menu( "oik_menu" ); if ( !$menu_slug ) { $hook = add_menu_page( __('[oik] Options', null), __('oik updates', null), 'manage_options', 'oik_menu', array( $this, "oik_menu" ) ); $hook = add_submenu_page( 'oik_menu', __( 'oik updates', null ), __( 'Updates', null), 'manage_options', 'oik_menu', array( $this, "oik_menu" ) ); } }View on GitHub View on Trac