[ Index ]

PHP Cross Reference of WordPress




/wp-includes/sitemaps/providers/ -> class-wp-sitemaps-taxonomies.php (summary)

Sitemaps: WP_Sitemaps_Taxonomies class Builds the sitemaps for the 'taxonomy' object type.

File Size: 201 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WP_Sitemaps_Taxonomies:: (5 methods):

Class: WP_Sitemaps_Taxonomies  - X-Ref

Taxonomies XML sitemap provider.

__construct()   X-Ref
WP_Sitemaps_Taxonomies constructor.

since: 5.5.0

get_object_subtypes()   X-Ref
Returns all public, registered taxonomies.

return: WP_Taxonomy[] Array of registered taxonomy objects keyed by their name.
since: 5.5.0

get_url_list( $page_num, $taxonomy = '' )   X-Ref
Gets a URL list for a taxonomy sitemap.

param: int    $page_num Page of results.
param: string $taxonomy Optional. Taxonomy name. Default empty.
return: array Array of URLs for a sitemap.
since: 5.5.0

get_max_num_pages( $taxonomy = '' )   X-Ref
Gets the max number of pages available for the object type.

param: string $taxonomy Taxonomy name.
return: int Total number of pages.
since: 5.5.0

get_taxonomies_query_args( $taxonomy )   X-Ref
Returns the query args for retrieving taxonomy terms to list in the sitemap.

param: string $taxonomy Taxonomy name.
return: array Array of WP_Term_Query arguments.
since: 5.5.0

Generated: Wed Dec 2 01:00:04 2020 Cross-referenced by PHPXref 0.7.1