includes/class-freemius.php
function is_page_visible( $slug ) {
            if ( $this->is_admin_page( $slug ) ) {
                return true;
            }

            return $this->_menu->is_submenu_item_visible( $slug, true, true );
        }
function is_page_visible( $slug ) {
            if ( $this->is_admin_page( $slug ) ) {
                return true;
            }

            return $this->_menu->is_submenu_item_visible( $slug, true, true );
        }
function is_page_visible ( $ slug ) { if ( $ this -> is_admin_page ( $ slug ) ) { return true ; } return $ this -> _menu -> is_submenu_item_visible ( $ slug , true , true ) ; }
Check if a Freemius page should be accessible via the UI.

@author Vova Feldman (@svovaf)
@since  1.2.2.7

@param string $slug

@return bool
Check if a Freemius page should be accessible via the UI .