plugin_name, $this->plugin_name, 'administrator', 'wpgmapembed', array( $this, 'srm_gmap_main' ), 'dashicons-location', 11); //to create sub menu of new map page if (gmap_embed_is_using_premium_version()) { add_submenu_page('wpgmapembed', __("Add new Map", "gmap-embed"), __("Add New", "gmap-embed"), 'administrator', 'wpgmapembed&tag=new', array( $this, 'srm_gmap_new' ), 11); } //setup wizard menu add_submenu_page('wpgmapembed', __("Quick Setup", "gmap-embed"), __("Quick Setup", "gmap-embed"), 'administrator', 'wgm_setup_wizard', array( $this, 'wpgmap_setup_wizard' ), 1); } /** * Google Map Embed Mail Page */ public function srm_gmap_main() { require plugin_dir_path(__FILE__) . '../../includes/gmap.php'; } }