public function filterPostTypeLink($permalink, $item, $leavename)
    {
        if (get_post_type($item->ID) == $this->singular)
        {
            $terms = wp_get_post_terms($item->ID, $this->taxonomy);
            $term = ($terms) ? $terms[0]->term_id : false;
            $permalink = $this->postTypePermalink($item->ID, $term, $leavename, false);
        }

        return $permalink;
    }