[ Index ]

PHP Cross Reference of WordPress

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.
since: 5.5.0

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: Sun Dec 22 01:00:02 2024 Cross-referenced by PHPXref 0.7.1