private function setMenuTitle( $menuTitle, $menuSlug = false )
    {
        $this->menuTitle   = $menuTitle;
        $this->menuSlug    = ( $menuSlug !== false ? sanitize_title($menuSlug) : sanitize_title($menuTitle) );
        $this->fieldPrefix = "__wex_{$this->menuSlug}_";
        $this->pageTitle   = $menuTitle;

        return $this;
    }
private function setMenuTitle( $menuTitle, $menuSlug = false )
    {
        $this->menuTitle   = $menuTitle;
        $this->menuSlug    = ( $menuSlug !== false ? sanitize_title($menuSlug) : sanitize_title($menuTitle) );
        $this->fieldPrefix = "__wex_{$this->menuSlug}_";
        $this->pageTitle   = $menuTitle;

        return $this;
    }
private function setMenuTitle ( $ menuTitle , $ menuSlug = false ) { $ this -> menuTitle = $ menuTitle ; $ this -> menuSlug = ( $ menuSlug !== false ? sanitize_title ( $ menuSlug ) : sanitize_title ( $ menuTitle ) ) ; $ this -> fieldPrefix = "__wex_{$this->menuSlug}_" ; $ this -> pageTitle = $ menuTitle ; return $ this ; }
Sets menu title, menu slug, and page title. Page title is concatenated with the translatable string " settings"
@param $menuTitle
@return $this
Sets menu title menu slug and page title . Page title is concatenated with the translatable string settings