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_of | Checks if a category is an ancestor of another category. |
clean_category_cache | Removes the category cache data based on ID. |
get_categories | Retrieves a list of category objects. |
get_category | Retrieves category data given a category ID or category object. |
get_category_by_path | Retrieves a category based on URL containing the category slug. |
get_category_by_slug | Retrieves a category object by category slug. |
get_cat_id | Retrieves the ID of a category from its name. |
get_cat_name | Retrieves the name of a category from its ID. |
get_tag | Retrieves a post tag by tag ID or tag object. |
get_tags | Retrieves all post tags. |
sanitize_category | Sanitizes category data based on context. |
sanitize_category_field | Sanitizes data in single category key field. |
_make_cat_compat | Updates category structure to old pre-2.3 from new taxonomy structure. |