[ 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: 96 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 : Thu Apr 18 08:20:02 2024 Cross-referenced by PHPXref