wpseek.com
A WordPress-centric search engine for devs and theme authors



wp-includes/category.php › WordPress File

Functions13
Taxonomy API: Core category-specific functionality


Function Short description
cat_is_ancestor_ofChecks if a category is an ancestor of another category.
clean_category_cacheRemoves the category cache data based on ID.
get_categoriesRetrieves a list of category objects.
get_categoryRetrieves category data given a category ID or category object.
get_category_by_pathRetrieves a category based on URL containing the category slug.
get_category_by_slugRetrieves a category object by category slug.
get_cat_idRetrieves the ID of a category from its name.
get_cat_nameRetrieves the name of a category from its ID.
get_tagRetrieves a post tag by tag ID or tag object.
get_tagsRetrieves all post tags.
sanitize_categorySanitizes category data based on context.
sanitize_category_fieldSanitizes data in single category key field.
_make_cat_compatUpdates category structure to old pre-2.3 from new taxonomy structure.