You have old version function (get_terms($tax, $args);
). Try this:
get_terms(array('hide_empty'=>0,'taxonomy'=>array('tagportfolio')));
You have old version function (get_terms($tax, $args);
). Try this:
get_terms(array('hide_empty'=>0,'taxonomy'=>array('tagportfolio')));