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

get_ancestors

Get an array of ancestor IDs for a given object.

9341

Continue reading

wp_update_term_count

Updates the amount of terms in taxonomy.If there is a taxonomy callback applied, then it will be called for updating the count.

4237

Continue reading

wp_update_term

Update term based on arguments provided.The $args will indiscriminately override all values with the same field name. Care must be taken to not override important information need to update or update will fail (or perhaps create a new term, neither would be acceptable).

4235

Continue reading

wp_unique_term_slug

Will make slug unique, if it isn’t already.The $slug has to be unique global to every taxonomy, meaning that one taxonomy term can’t have a matching slug with another taxonomy term. Each slug has to be globally unique for every taxonomy.

4195

Continue reading