includes/managers/class-fs-admin-menu-manager.php
function add_subpage_and_update(
            $parent_slug,
            $page_title,
            $menu_title,
            $capability,
            $menu_slug,
            $function = ''
        ) {
            $this->_menu_slug           = $menu_slug;
            $this->_parent_slug         = $parent_slug;
            $this->_is_top_level        = false;
            $this->_menu_exists         = true;
            $this->_network_menu_exists = true;

            return self::add_subpage(
                $parent_slug,
                $page_title,
                $menu_title,
                $capability,
                $menu_slug,
                $function
            );
        }
function add_subpage_and_update(
            $parent_slug,
            $page_title,
            $menu_title,
            $capability,
            $menu_slug,
            $function = ''
        ) {
            $this->_menu_slug           = $menu_slug;
            $this->_parent_slug         = $parent_slug;
            $this->_is_top_level        = false;
            $this->_menu_exists         = true;
            $this->_network_menu_exists = true;

            return self::add_subpage(
                $parent_slug,
                $page_title,
                $menu_title,
                $capability,
                $menu_slug,
                $function
            );
        }
function add_subpage_and_update ( $ parent_slug , $ page_title , $ menu_title , $ capability , $ menu_slug , $ function = '' ) { $ this -> _menu_slug = $ menu_slug ; $ this -> _parent_slug = $ parent_slug ; $ this -> _is_top_level = false ; $ this -> _menu_exists = true ; $ this -> _network_menu_exists = true ; return self :: add_subpage ( $ parent_slug , $ page_title , $ menu_title , $ capability , $ menu_slug , $ function ) ; }
Add sub page and update menu instance settings.

@author Vova Feldman (@svovaf)
@since  2.0.0

@param string          $parent_slug
@param string          $page_title
@param string          $menu_title
@param string          $capability
@param string          $menu_slug
@param callable|string $function

@return string
Add sub page and update menu instance settings .