How do I call pathauto alias using php
If you mean the alias for the taxonomy term you can use url() (if you just want the URL), or l() if you want a link:

$url = url('taxonomy/term/' . $term-&gt;tid);

$link = l('Link text', 'taxonomy/term/' . $term-&gt;tid);


Both of those will give you the current path alias for the term page