[ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
Sitemaps: WP_Sitemaps_Renderer class Responsible for rendering Sitemaps data to XML in accordance with sitemap protocol.
File Size: | 274 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
WP_Sitemaps_Renderer:: (8 methods):
__construct()
get_sitemap_stylesheet_url()
get_sitemap_index_stylesheet_url()
render_index()
get_sitemap_index_xml()
render_sitemap()
get_sitemap_xml()
check_for_simple_xml_availability()
Class: WP_Sitemaps_Renderer - X-Ref
Class WP_Sitemaps_Renderer__construct() X-Ref |
WP_Sitemaps_Renderer constructor. since: 5.5.0 |
get_sitemap_stylesheet_url() X-Ref |
Gets the URL for the sitemap stylesheet. return: string The sitemap stylesheet URL. since: 5.5.0 |
get_sitemap_index_stylesheet_url() X-Ref |
Gets the URL for the sitemap index stylesheet. return: string The sitemap index stylesheet URL. since: 5.5.0 |
render_index( $sitemaps ) X-Ref |
Renders a sitemap index. param: array $sitemaps Array of sitemap URLs. since: 5.5.0 |
get_sitemap_index_xml( $sitemaps ) X-Ref |
Gets XML for a sitemap index. param: array $sitemaps Array of sitemap URLs. return: string|false A well-formed XML string for a sitemap index. False on error. since: 5.5.0 |
render_sitemap( $url_list ) X-Ref |
Renders a sitemap. param: array $url_list Array of URLs for a sitemap. since: 5.5.0 |
get_sitemap_xml( $url_list ) X-Ref |
Gets XML for a sitemap. param: array $url_list Array of URLs for a sitemap. return: string|false A well-formed XML string for a sitemap index. False on error. since: 5.5.0 |
check_for_simple_xml_availability() X-Ref |
Checks for the availability of the SimpleXML extension and errors if missing. since: 5.5.0 |
Generated: Sun Dec 22 01:00:02 2024 | Cross-referenced by PHPXref 0.7.1 |