List categories name in an array
-
I want to list categories name ( without link ) in an array in functions.php.
for example we have three categories “Cat one” , “Cat two” and “Cat three”I want to bring categories in functions.php like this .
array( Cat one , Cat two , Cat three )How do I resolve this?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘List categories name in an array’ is closed to new replies.