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