Profile
Achievement
djmosc's Recent SnippetsTagged wordpress
- All /
« Prev 1 Next »
Just insert any category id into the argument and it will return the top level category object.
e.g: print_r( get_top_level_category('INSERT CATEGORY ID HERE') );
0
998
posted 13 years ago by djmosc