Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (10 sloc) 238 Bytes
<snippet>
<content><![CDATA[
/*
* Display the current category name.
*/
\$category = get_the_category(''); echo \$category[0]->cat_name;
]]></content>
<tabTrigger>get_the_category</tabTrigger>
<scope>source.php</scope>
</snippet>