includes/class-freemius.php
private function maybe_set_slug_and_network_menu_exists_flag() {
            if ( ! empty( $this->_dynamically_added_top_level_page_hook_name ) ) {
                $this->_menu->set_slug_and_network_menu_exists_flag( $this->_menu->has_menu() ?
                    $this->_menu->get_slug() :
                    $this->_slug
                );
            }
        }
private function maybe_set_slug_and_network_menu_exists_flag() {
            if ( ! empty( $this->_dynamically_added_top_level_page_hook_name ) ) {
                $this->_menu->set_slug_and_network_menu_exists_flag( $this->_menu->has_menu() ?
                    $this->_menu->get_slug() :
                    $this->_slug
                );
            }
        }
private function maybe_set_slug_and_network_menu_exists_flag ( ) { if ( ! empty ( $ this -> _dynamically_added_top_level_page_hook_name ) ) { $ this -> _menu -> set_slug_and_network_menu_exists_flag ( $ this -> _menu -> has_menu ( ) ? $ this -> _menu -> get_slug ( ) : $ this -> _slug ) ; } }
This is used to ensure that before redirecting to the opt-in page after resetting the anonymous mode or
deleting the account in the network level, the URL of the page to redirect to is correct.

@author Leo Fajardo (@leorw)

@since 2.1.3
This is used to ensure that before redirecting to the opt - in page after resetting the anonymous mode or deleting the account in the network level the URL of the page to redirect to is correct .