You appear to be a bot. Output may be restricted
Description
Implement "admin_menu" for theme updates- We need to add the oik_themes submenu if it's not already present
- We may need to create the oik menu.
Usage
OIK_Theme_Update::admin_menu();
Parameters
Returns
voidSource
File name: oik-libs/libs/class-oik-theme-update.phpLines:
1 to 18 of 18
function admin_menu() { $themes_slug = $this->query_menu_subitem( "oik_themes", "oik_menu" ); if ( !$themes_slug ) { $this->add_oik_menu(); add_submenu_page( 'oik_menu', __( 'oik themes', 'oik' ), __('Themes', 'oik'), 'manage_options', 'oik_themes', array( $this, 'oik_themes_do_page' ) ); $loaded = $this->bootstrap_oik_libs(); if ( $loaded ) { $dependencies = array( "class-bobbcomp" => "0.0.1" , "bobbfunc" => "3.0.0" , "class-oik-update" => "0.1.0" ); $loaded = $this->require_dependencies( $dependencies ); if ( $loaded ) { do_action( "oik_register_theme_server" ); } } } }View on GitHub