-
An alias of the WOOF_PostType::link method, to retrieve HTML for a link (anchor) tag pointing at the archive page for this post type.
-
An alias of the WOOF_PostType::url method to retrieve the url for the post type archive page, based on the settings for this post type.
-
Stores data set by the WOOF_PostType::data method using the WordPress Transients API. .
-
Returns the custom capability key in use for a given standard capability key.
-
Creates a new WOOF_Post object of this post type, 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).
-
Stores or retrieves a data item against a key which is bulk-stored against this a bucket associated with this post type using the WordPress transients API, via the WOOF_PostType::cache_data method.
-
Returns a feed URL for this post type.
-
Retrieves a post object of this post type by first trying to find a post with the specified $slug, or creating a new post 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 posts from another data source (such as a JSON API) without needing to worry about checking for existence first (see example).
-
Flattens a hierarchical post structure into a flat collection of posts.This method uses get_posts to retrieve the posts, so you can further clarify the query used with the args parameter.
-
A powerful method to retrieve a list of posts for this post type that are attached (or aren’t attached) to one or more given taxonomy terms, in a very concise easy-to-use way that almost reads like english.This method uses get_posts to retrieve the posts, so you can further clarify this query with the args parameter.This class also contains a whole host of aliases to this method, which allow you to almost spell out other scenarios in close-to-English ways.
-
An alias for the WOOF_PostType::in_a method, to retrieve a list of posts for this post type that are attached (or aren’t attached) to one or more given taxonomy terms, in a very concise easy-to-use way that almost reads like english.This method uses get_posts to retrieve the posts, so you can further clarify this query with the args parameter.
-
A similar method to the WOOF_PostType::in_a method, to retrieve a list of posts for this post type that are attached (or aren’t attached) to one or more given taxonomy terms, in a very concise easy-to-use way that almost reads like english.This method uses get_posts to retrieve the posts, so you can further clarify this query with the args parameter.
-
A more readable synonym for the WOOF_PostType::insert to create a post of this type and immediately update the database.
-
Returns the stdClass object representing this post type.
-
An alias for the WOOF_PostType::plural_label method, to retrieve the plural-form of the post type label.
-
A preset on the WOOF::latest method, to retrieve the latest 1 or more posts from this post type, and based on further arguments.
-
Retrieves HTML for a link (anchor) tag pointing at the archive page for this post type.
-
An alias for the WOOF_PostType::post method, to retrieve a post object of this type for the given slug.
-
A preset on the method WOOF_PostType::in_a method to retrieve a list of posts for this post type that are not attached to one or more given taxonomy terms.This method uses get_posts to retrieve the posts, so you can further clarify this query with the args parameter.This class also contains a whole host of aliases to this method, which allow you to almost spell out other scenarios in close-to-English ways.
-
An alias for the method WOOF_PostType::not_in_a method to retrieve a list of posts for this post type that are not attached to one or more given taxonomy terms.This method uses get_posts to retrieve the posts, so you can further clarify this query with the args parameter.
-
An alias for the method WOOF_PostType::not_in_a method to retrieve a list of posts for this post type that are not attached to one or more given taxonomy terms.This method uses get_posts to retrieve the posts, so you can further clarify this query with the args parameter.
-
A preset on the method WOOF_PostType::not_in_a to retrieve a list of posts for this post type that are not attached to one or more given tags.This method uses get_posts to retrieve the posts, so you can further clarify this query with the args parameter.
-
An alias for the method WOOF_PostType::not_in_a method to retrieve a list of posts for this post type that are not attached to one or more given taxonomy terms.This method uses get_posts to retrieve the posts, so you can further clarify this query with the args parameter.
-
An alias for the method WOOF_PostType::not_in_a method to retrieve a list of posts for this post type that are not attached to one or more given taxonomy terms.This method uses get_posts to retrieve the posts, so you can further clarify this query with the args parameter.
-
An alias for the method WOOF_PostType::not_in_a method to retrieve a list of posts for this post type that are not attached to one or more given taxonomy terms.This method uses get_posts to retrieve the posts, so you can further clarify this query with the args parameter.
-
Retrieve the plural-form of the post type label.
-
Retrieve a post object of this type for the given slug.Note that this method forwards on to the WOOF::post method to retrieve the post, so the $id parameter can be a slug, ID, or even a WOOF_Post object.
-
A preset on the method WOOF::posts to retrieve a collection of posts for this post type.
-
A preset on the method WOOF::posts to retrieve a collection of posts for this post type sorted by title.This method uses get_posts to retrieve the posts, so you can further clarify this query with the args parameter.
-
A preset on the WOOF::query_posts method, to retrieve the posts from this post type, while also affecting the main query loop.
-
Retrieve the singular form of the post type label.
-
Retrieves the rewrite slug (as per settings) for this post type.
-
Checks if this post type supports a specific feature.The feature key can be any one of:‘title’‘editor’ (content)‘author’‘thumbnail’ (featured image)‘excerpt’‘trackbacks’‘custom-fields’‘comments’ ‘revisions’‘page-attributes’ (template and menu order) .
-
Retrieve the keys of all of the features that this post type supports.
-
A preset on the method WOOF_PostType::in_a to retrieve a list of posts for this post type that are attached to one or more given tags.This method uses get_posts to retrieve the posts, so you can further clarify this query with the args parameter.
-
Uses the method WOOF::taxonomies_for_type method to retrieve a collection of taxonomies associated with this post type.
-
A preset on the method WOOF_PostType::in_a to retrieve a list of posts for this post type that are attached to one or more given categories.This method uses get_posts to retrieve the posts, so you can further clarify this query with the args parameter.
-
A preset on the method WOOF_PostType::not_in_a to retrieve a list of posts for this post type that are not attached to one or more given categories.This method uses get_posts to retrieve the posts, so you can further clarify this query with the args parameter.
-
An alias for the WOOF_PostType::plural_label method, to retrieve the plural-form label for this post type.
-
A preset on the WOOF::latest method, to retrieve the latest 1 or more posts from this post type that are at the top level of the hierarchy (have no parents).
-
A preset on the WOOF::posts method, to retrieve posts this post type that are at the top level of the hierarchy (have no parents).
-
Removes data set by the WOOF_PostType::data method using the WordPress Transients API. .
-
Retrieves the url for the post type archive page, based on the settings for this post type.
-
A preset on the method WOOF_PostType::in_a to retrieve a list of posts for this post type that are attached to one or more given categories.This method uses get_posts to retrieve the posts, so you can further clarify this query with the args parameter.
-
A preset on the method WOOF_PostType::not_in_a to retrieve a list of posts for this post type that are not attached to one or more given categories.This method uses get_posts to retrieve the posts, so you can further clarify this query with the args parameter.
-
An alias for the WOOF_PostType::in_a method, to retrieve a list of posts for this post type that are attached (or aren’t attached) to one or more given taxonomy terms, in a very concise easy-to-use way that almost reads like english.This method uses get_posts to retrieve the posts, so you can further clarify this query with the args parameter.
-
An alias for the WOOF_PostType::in_a method, to retrieve a list of posts for this post type that are attached (or aren’t attached) to one or more given taxonomy terms, in a very concise easy-to-use way that almost reads like english.This method uses get_posts to retrieve the posts, so you can further clarify this query with the args parameter.
-
An alias for the WOOF_PostType::in_a method, to retrieve a list of posts for this post type that are attached (or aren’t attached) to one or more given taxonomy terms, in a very concise easy-to-use way that almost reads like english.This method uses get_posts to retrieve the posts, so you can further clarify this query with the args parameter.