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

register_taxonomy

Create or modify a taxonomy object. Do not use before init.A simple function for creating or modifying a taxonomy object based on the parameters given. The function will accept an array (third optional parameter), along with strings for the taxonomy name and another string for the object type.

2685

Continue reading

is_taxonomy_hierarchical

Whether the taxonomy object is hierarchical.Checks to make sure that the taxonomy is an object first. Then Gets the object, and finally returns the hierarchical value in the object.

2205

Continue reading

is_object_in_term

Determine if the given object is associated with any of the given terms.The given terms are checked against the object’s terms’ term_ids, names and slugs. Terms given as integers will only be checked against the object’s terms’ term_ids. If no terms are given, determines if object is associated with any terms in the given taxonomy.

2151

Continue reading

get_the_taxonomies

Retrieve all taxonomies associated with a post.This function can be used within the loop. It will also return an array of the taxonomies with links to the taxonomy and name.

1851

Continue reading