Core Class
View Source on Trac ↗
Core Class
WP_Sitemaps_Taxonomies
class WP_Sitemaps_Taxonomies
// Constructor: function Object() { [native code] } Taxonomies XML sitemap provider.
Methods 5 methods
| Method / Return | Description |
|---|---|
| __construct() void | WP_Sitemaps_Taxonomies constructor. |
| get_object_subtypes() WP_Taxonomy[] | Returns all public, registered taxonomies. |
| get_url_list() array[] | Gets a URL list for a taxonomy sitemap.
Parameters: $page_num: mixed, $object_subtype: mixed |
| get_max_num_pages() int | Gets the max number of pages available for the object type.
Parameters: $object_subtype: mixed |
| get_taxonomies_query_args() array | Returns the query args for retrieving taxonomy terms to list in the sitemap.
Parameters: $taxonomy: mixed |
Class Information
Since Version
5.5.0
Source File
wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php
Advertisement