• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register
WordPress.org
WordPress.org
  • Plugins
  • Themes
  • Patterns
  • Learn
  • Support
    • Documentation
    • Forums
  • News
  • About
  • Get Involved
    • Five for the Future
  • Showcase
  • Mobile
  • Hosting
  • Openverse
  • Get WordPress
Get WordPress

Code Reference

Skip to content
Filter by type:
Search
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:130

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:163

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:230

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:256

Used by 0 functions | Uses 1 function

WP_Sitemaps::init()

Method: Initiates all sitemap functionality.

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

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:88

Used by 2 functions | Uses 3 functions

wp_sitemaps_enabled

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

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

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:112

Used by 1 function | Uses 3 functions

WP_Sitemaps

Class: Class WP_Sitemaps.

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

Used by 0 functions | Uses 0 functions

WP_Sitemaps::__construct()

Method: WP_Sitemaps constructor.

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

Used by 1 function | Uses 2 functions
  • About
  • News
  • Hosting
  • Donate
  • Support
  • 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
Code is Poetry