-
Allows the post type to be directly iterated over, by returning all posts under this post type as items for the collection.
-
Returns the custom capability key in use for a given standard capability key.
-
Creates a new WOOF_Term object in this taxonomy, which can either have properties set by passing properties in the $args parameter, or setting them manually later in code (via the use of the magic method ---set).
-
Retrieves a term object in this taxonomy by first trying to find a term with the specified $slug, or creating a new term with the specified slug if not found.This method could be very useful in some kind of import process, where you might want to create or update terms from another data source (such as a JSON API) without needing to worry about checking for existence first (see example).
-
Flattens a hierarchical term structure into a flat collection of terms.This method uses get_terms to retrieve the terms, so you can further clarify the query used with the args parameter.
-
A more readable synonym for the WOOF_Taxonomy::insert to create a term in this taxonomy and immediately update the database.
-
Allows the taxonomy to be directly iterated over, by returning all terms under this taxonomy as items for the collection.
-
An alias of the WOOF_Taxonomy::plural_label method to retrieve the plural-form of the taxonomy name.
-
A preset on the method WOOF::terms to retrieve a collection of terms for this taxonomy which are non-empty, that is, currently in use by one or more posts.
-
A preset on the method WOOF::terms to retrieve a collection of terms for this taxonomy which are both non-empty (in use by one or more posts) and at the top level of the taxonomy hierarchy.This method uses get_terms to retrieve the terms, so you can further clarify this query with the args parameter.
-
Retrieves the plural-form of the taxonomy name.
-
Retrieves a collection of WOOF_PostType objects representing the post types attached to this taxonomy.
-
Retrieves the singular form label for this taxonomy.
-
Retrieve a term object in this taxonomy for the given $id.Note that this method forwards on to the WOOF::term method to retrieve the term, so the $id parameter can be a slug, ID, or even a WOOF_Term object itself (which will simply return this object).
-
A preset on the method WOOF::terms to retrieve a collection of terms for this taxonomy.This method uses get_terms to retrieve the terms, so you can further clarify this query with the args parameter.
-
An alias of the WOOF_Taxonomy::plural_label method to retrieve the plural-form of the taxonomy name.
-
A preset on the method WOOF::terms to retrieve a collection of terms for this taxonomy which are at the top level of the taxonomy hierarchy.This method uses get_terms to retrieve the terms, so you can further clarify this query with the args parameter.
-
An alias for the method WOOF_Taxonomy::top_level_terms and a preset on the method WOOF::terms to retrieve a collection of terms for this taxonomy which are at the top level of the taxonomy hierarchy.This method uses get_terms to retrieve the terms, so you can further clarify this query with the args parameter.
-
An alias of the WOOF_Taxonomy::post_types method to retrieve a collection of WOOF_PostType objects representing the post types attached to this taxonomy.