includes/managers/class-fs-admin-menu-manager.php
private function find_main_submenu() {
			global $submenu;

			$top_level_menu_slug = $this->get_top_level_menu_slug();

			if ( ! isset( $submenu[ $top_level_menu_slug ] ) ) {
				return false;
			}

			$submenu_slug = $this->get_raw_slug();

			$position   = - 1;
			$found_submenu = false;

			$hook_name = get_plugin_page_hookname( $submenu_slug, '' );

			foreach ( $submenu[ $top_level_menu_slug ] as $pos => $sub ) {
				if ( $submenu_slug === $sub[2] ) {
					$position   = $pos;
					$found_submenu = $sub;
				}
			}

			if ( false === $found_submenu ) {
				return false;
			}

			return array(
				'menu'        => $found_submenu,
				'parent_slug' => $top_level_menu_slug,
				'position'    => $position,
				'hook_name'   => $hook_name
			);
		}
private function find_main_submenu() {
			global $submenu;

			$top_level_menu_slug = $this->get_top_level_menu_slug();

			if ( ! isset( $submenu[ $top_level_menu_slug ] ) ) {
				return false;
			}

			$submenu_slug = $this->get_raw_slug();

			$position   = - 1;
			$found_submenu = false;

			$hook_name = get_plugin_page_hookname( $submenu_slug, '' );

			foreach ( $submenu[ $top_level_menu_slug ] as $pos => $sub ) {
				if ( $submenu_slug === $sub[2] ) {
					$position   = $pos;
					$found_submenu = $sub;
				}
			}

			if ( false === $found_submenu ) {
				return false;
			}

			return array(
				'menu'        => $found_submenu,
				'parent_slug' => $top_level_menu_slug,
				'position'    => $position,
				'hook_name'   => $hook_name
			);
		}
private function find_main_submenu ( ) { global $ submenu ; $ top_level_menu_slug = $ this -> get_top_level_menu_slug ( ) ; if ( ! isset ( $ submenu [ $ top_level_menu_slug ] ) ) { return false ; } $ submenu_slug = $ this -> get_raw_slug ( ) ; $ position = - 1 ; $ found_submenu = false ; $ hook_name = get_plugin_page_hookname ( $ submenu_slug , '' ) ; foreach ( $ submenu [ $ top_level_menu_slug ] as $ pos => $ sub ) { if ( $ submenu_slug === $ sub [ 2 ] ) { $ position = $ pos ; $ found_submenu = $ sub ; } } if ( false === $ found_submenu ) { return false ; } return array ( 'menu' => $ found_submenu , 'parent_slug' => $ top_level_menu_slug , 'position' => $ position , 'hook_name' => $ hook_name ) ; }
Find plugin's admin dashboard main submenu item.

@author Vova Feldman (@svovaf)
@since  1.2.1.6

@return array|false
Find plugin s admin dashboard main submenu item .