File: wp-includes/sitemaps/class-wp-sitemaps.php
-
Registers sitemap rewrite tags and routing rules.
-
Renders sitemap templates based on rewrite rules.
-
Redirects a URL to the wp-sitemap.xml
-
Adds the sitemap index to robots.txt.
-
classWP_Sitemaps
Class WP_Sitemaps.
-
WP_Sitemaps constructor.
-
methodWP_Sitemaps::init()
Initiates all sitemap functionality.
-
Determines whether sitemaps are enabled or not.
-
Filters whether XML Sitemaps are enabled or not.
-
Registers and sets up the functionality for all supported sitemaps.