• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Yoast SEO a2z

Yoast SEO a2z

WordPress SEO a2z

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Classes / WPSEO_Sitemaps

Methods

1 to 23 of 23
  • WPSEO_Sitemaps::__construct() – Class constructor.
  • WPSEO_Sitemaps::build_root_map() – Build the root sitemap (example.com/sitemap_index.xml) which lists sub-sitemaps for other content types.
  • WPSEO_Sitemaps::build_sitemap() – Attempts to build the requested sitemap.
  • WPSEO_Sitemaps::get_entries_per_page() – Get the maximum number of entries per XML sitemap.
  • WPSEO_Sitemaps::get_last_modified_gmt() – Get the GMT modification date for the last modified post in the post type.
  • WPSEO_Sitemaps::get_last_modified() – Get the modification date for the last modified post in the post type.
  • WPSEO_Sitemaps::get_post_statuses() – Get post statuses for post_type or the root sitemap.
  • WPSEO_Sitemaps::get_sitemap_from_cache() – Try to get the sitemap from cache.
  • WPSEO_Sitemaps::hit_sitemap_index() – Makes a request to the sitemap index to cache it before the arrival of the search engines.
  • WPSEO_Sitemaps::init_sitemaps_providers() – Initialize sitemap providers classes.
  • WPSEO_Sitemaps::output() – Spit out the generated sitemap.
  • WPSEO_Sitemaps::ping_search_engines() – Notify search engines of the updated sitemap.
  • WPSEO_Sitemaps::redirect() – Hijack requests for potential sitemaps and XSL files.
  • WPSEO_Sitemaps::reduce_query_load() – Check the current request URI, if we can determine it’s probably an XML sitemap, kill loading the widgets.
  • WPSEO_Sitemaps::refresh_sitemap_cache() – Build and save sitemap to cache.
  • WPSEO_Sitemaps::register_sitemap() – Register your own sitemap. Call this during ‘init’.
  • WPSEO_Sitemaps::register_xsl() – Register your own XSL file. Call this during ‘init’.
  • WPSEO_Sitemaps::send_headers() – Sends all the required HTTP Headers.
  • WPSEO_Sitemaps::set_bad_sitemap() – Set as true to make the request 404. Used stop the display of empty sitemaps or invalid requests.
  • WPSEO_Sitemaps::set_n() – Set the sitemap current page to allow creating partial sitemaps with WP-CLI in a one-off process.
  • WPSEO_Sitemaps::set_sitemap() – Set the sitemap content to display after you have generated it.
  • WPSEO_Sitemaps::sitemap_close() – Prevent stupid plugins from running shutdown scripts when we’re obviously not outputting HTML.
  • WPSEO_Sitemaps::xsl_output() – Spits out the XSL for the XML sitemap.

Extended by

Class name: WPSEO_Sitemaps
Plugin ref: Yoast SEO
Version: 15.4
Sourcefile: inc/sitemaps/class-sitemaps.php
File ref: inc/sitemaps/class-sitemaps.php
API Letters: S,W

Published: 27th November 2019 | Last updated: 10th December 2020

Primary Sidebar

Information

Class name: WPSEO_Sitemaps
Plugin ref: Yoast SEO
Version: 15.4
Sourcefile: inc/sitemaps/class-sitemaps.php
File ref: inc/sitemaps/class-sitemaps.php
API Letters: S,W

Footer

Yoast SEO a2z
Yoast SEO a2z
WordPress SEO a2z
WordPress 5.6
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  wordpress-seo.wp-a2z.org
© Copyright Yoast SEO a2z 2017-2021. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites