Archive | /wp-includes/category.php RSS feed for this section

get_categories

Retrieve list of category objects.If you change the type to ‘link’ in the arguments, then the link categories will be returned instead. Also all categories will be updated to be backwards compatible with pre-2.3 plugins and themes.

1240

Continue reading

cat_is_ancestor_of

Check if a category is an ancestor of another category.You can use either an id or the category object for both parameters. If you use an integer the category will be retrieved.

589

Continue reading