[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/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):
  __construct()
  get_sitemap_list()
  get_index_url()


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.

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.

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

return: string The sitemap index URL.



Generated : Mon Oct 26 08:20:01 2020 Cross-referenced by PHPXref