src/Page/AccountPage.php
public static function find_link($urlSegment = false)
    {
        $page = self::get_if_account_page_exists();
        return ($urlSegment) ? $page->URLSegment : $page->Link();
    }
public static function find_link($urlSegment = false)
    {
        $page = self::get_if_account_page_exists();
        return ($urlSegment) ? $page->URLSegment : $page->Link();
    }
Returns the link or the URLSegment to the account page on this site

@param boolean $urlSegment Return the URLSegment only

@return mixed