[ Index ]

PHP Cross Reference of WordPress




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

Sitemaps: WP_Sitemaps_Index class. Generates the sitemap index.

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

Defines 1 class

WP_Sitemaps_Index:: (3 methods):

Class: WP_Sitemaps_Index  - X-Ref

Class WP_Sitemaps_Index.
Builds the sitemap index page that lists the links to all of the sitemaps.

__construct( WP_Sitemaps_Registry $registry )   X-Ref
WP_Sitemaps_Index constructor.

since: 5.5.0
param: WP_Sitemaps_Registry $registry Sitemap provider registry.

get_sitemap_list()   X-Ref
Gets a sitemap list for the index.

return: array[] Array of all sitemaps.
since: 5.5.0

get_index_url()   X-Ref
Builds the URL for the sitemap index.

return: string The sitemap index URL.
since: 5.5.0

Generated: Mon Jun 27 01:00:02 2022 Cross-referenced by PHPXref 0.7.1