-
Implements PHP’s __call magic method to provide a number of clever handlers for the unknown method call.
-
Implements PHP’s __get magic method to provide a number of clever handlers for the unknown property access.
-
Implements PHP’s __set magic method allowing properties of the term to be set via direct property assignment.
-
Implements the __toString PHP magic method to output the (descriptive) term name when it is echoed.Note: this method is not intended to be called directly.
-
Retrieves a collection of ancestors for this term from lowest to highest in the hierarchyThis will only return meaningful results when the term is based on a hierarchical taxonomy.
-
Bulk assign a number of properties of this term at the one time.Note: this method does not update the database, you will need to call the method WOOF_Term::update after using this method.
-
Retrieves the immediate child objects of this term.This method uses get_terms to retrieve the children, and you can further clarify this query with the args parameter (the parent parameter will be enforced to actually retrieve the children).
-
Returns the number of times this term has been assigned to posts, which is calculated by WordPress.
-
Deletes the term behind this object in the database, via the WordPress function wp_delete_term.
-
Returns the depth of this term in the hierarchy, where 1 is the top level, 2 is the 2nd level, and so on.
-
Checks if the this term has any children.Note: this will only return meaningful results if this term is based on a taxonomy which is hierarchical.
-
Checks if this term has a parent.Note: this will only return meaningful results if this term is based on a hierarchical taxonomy.
-
Retrieves the database ID of this term (internally referred to as “term_id” in WordPress).
-
Checks if this term matches the $id specified.
-
Checks if this term has the given taxonomy name.
-
An alias for the WOOF_Term::is_a method, to check if this term has the given taxonomy name.
-
Checks to see if this term is a child of another term (at any level in the hierarchy).
-
Checks if this term is the current active term being displayed.
-
Retrieves HTML for a link (anchor) tag pointing to the archive page for this term, using the name of the term as the link text by default (a very common requirement).
-
Retrieves the (descriptive) name of the taxonomy term.
-
Gets the next term in the set of siblings for this term as defined by the query in the $args parameter.
-
Retrieves the immediate parent term for this term.Note: this will only return meaningful results if the term is based on a hierarchical taxonomy.
-
Retrieves the permalink for the term via the WordPress function get_term_link.
-
A powerful method to retrieve a list of posts that are attached to this term, in a very concise and easy-to-use way.This method uses get_posts to retrieve the posts, so you can further clarify this query with the args parameter.
-
A powerful method to retrieve a list of posts that are attached to this term, ordered by title in a very concise and easy-to-use way.This method uses get_posts to retrieve the posts, so you can further clarify this query with the args parameter.
-
A powerful method to retrieve a list of posts that are attached to this term, of a specific type, in a very concise and easy-to-use way.This method uses get_posts to retrieve the posts, so you can further clarify this query with the args parameter.
-
Gets the previous term in the set of siblings for this term as defined by the query in the $args parameter.
-
A preset on the WOOF::query_posts method, to retrieve the posts for this term, while also affecting the main query loop.
-
Links this term with a post, via the WordPress function wp_set_object_terms.
-
Retrieves the sibling objects of this term, that is, terms that exist at the same level in the hierarchy as the current term (or terms that have the same parent as this term).Note: this will only return results if the term is based on a hierarchical taxonomy.
-
Retrieves the slug of this term.
-
Retrieves a WOOF_Taxonomy object representing the taxonomy for this term.
-
Retrieves a tuple of taxonomy name and term ID for this term.
-
Retrieves the taxonomy name for this term.
-
An alias of the WOOF_Term::name method to retrieve the (descriptive) name of the taxonomy term.
-
Retrieves the top level ancestor of this term.Note: this will only return a meaningful result if this term is based on a hierarchical taxonomy.
-
Updates the database with any changes made to this term.
-
Retrieves the root_relative URL (domain and protocol removed) of the archive page for this term.