WPDev.one
Core Class

WP_Sitemaps_Renderer

class WP_Sitemaps_Renderer // Constructor: function Object() { [native code] }

Class WP_Sitemaps_Renderer

Methods 8 methods

Method / Return Description
__construct()
void

WP_Sitemaps_Renderer constructor.

get_sitemap_stylesheet_url()
string

Gets the URL for the sitemap stylesheet.

get_sitemap_index_stylesheet_url()
string

Gets the URL for the sitemap index stylesheet.

render_index()
void

Renders a sitemap index.

Parameters: $sitemaps: mixed
get_sitemap_index_xml()
(string

Gets XML for a sitemap index.

Parameters: $sitemaps: mixed
render_sitemap()
void

Renders a sitemap.

Parameters: $url_list: mixed
get_sitemap_xml()
(string

Gets XML for a sitemap.

Parameters: $url_list: mixed
check_for_simple_xml_availability()
void

Checks for the availability of the SimpleXML extension and errors if missing.

Properties

Property / Type Description
$stylesheet
mixed
public
No description available.
$stylesheet_index
mixed
public
No description available.

Class Information

Since Version
5.5.0
Source File
wp-includes/sitemaps/class-wp-sitemaps-renderer.php
Advertisement