Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Openverse
    • Mobile
    • Hosting
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • WordPress.tv
    • Developers
  • Community
    • Make WordPress
    • WordCamp
    • Meetups
    • Photo Directory
    • Job Board
    • Five for the Future
  • About
    • About WordPress
    • Showcase
    • Gutenberg
    • Enterprise
    • WordPress Swag Store
  • Get WordPress
Get WordPress

Developer Resources

Browse: Home / Reference / wp-includes/sitemaps/class-wp-sitemaps.php

WP_Sitemaps::register_rewrites()

Method: Registers sitemap rewrite tags and routing rules.

Source: wp-includes/sitemaps/class-wp-sitemaps.php:131

Used by 1 function | Uses 2 functions

WP_Sitemaps::render_sitemaps()

Method: Renders sitemap templates based on rewrite rules.

Source: wp-includes/sitemaps/class-wp-sitemaps.php:164

Used by 0 functions | Uses 6 functions

WP_Sitemaps::redirect_sitemapxml()

Method: Redirects a URL to the wp-sitemap.xml

Source: wp-includes/sitemaps/class-wp-sitemaps.php:231

Used by 0 functions | Uses 1 function

WP_Sitemaps::add_robots()

Method: Adds the sitemap index to robots.txt.

Source: wp-includes/sitemaps/class-wp-sitemaps.php:257

Used by 0 functions | Uses 1 function

WP_Sitemaps

Class: Class WP_Sitemaps.

Source: wp-includes/sitemaps/class-wp-sitemaps.php:18

Used by 0 functions | Uses 0 functions

WP_Sitemaps::__construct()

Method: WP_Sitemaps constructor.

Source: wp-includes/sitemaps/class-wp-sitemaps.php:51

Used by 1 function | Uses 2 functions

WP_Sitemaps::init()

Method: Initiates all sitemap functionality.

Source: wp-includes/sitemaps/class-wp-sitemaps.php:65

Used by 1 function | Uses 5 functions

WP_Sitemaps::sitemaps_enabled()

Method: Determines whether sitemaps are enabled or not.

Source: wp-includes/sitemaps/class-wp-sitemaps.php:89

Used by 2 functions | Uses 2 functions

wp_sitemaps_enabled

Filter Hook: Filters whether XML Sitemaps are enabled or not.

Source: wp-includes/sitemaps/class-wp-sitemaps.php:105

Used by 1 function | Uses 0 functions

WP_Sitemaps::register_sitemaps()

Method: Registers and sets up the functionality for all supported sitemaps.

Source: wp-includes/sitemaps/class-wp-sitemaps.php:113

Used by 1 function | Uses 3 functions
  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry