I’m using it at the top of category.php
which is the page that displays the category information. On this page it cannot be called with argument because they are in the query. This function is supposed to grab that query and inform us if we are infact dealing with a category request.
The cat
part is actually the query name ie ?cat=country
.