[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
Sitemaps: WP_Sitemaps_Renderer class Responsible for rendering Sitemaps data to XML in accordance with sitemap protocol.
File Size: | 273 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. |
get_sitemap_stylesheet_url() X-Ref |
Gets the URL for the sitemap stylesheet. return: string The sitemap stylesheet URL. |
get_sitemap_index_stylesheet_url() X-Ref |
Gets the URL for the sitemap index stylesheet. return: string The sitemap index stylesheet URL. |
render_index( $sitemaps ) X-Ref |
Renders a sitemap index. param: array $sitemaps Array of sitemap URLs. |
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. |
render_sitemap( $url_list ) X-Ref |
Renders a sitemap. param: array $url_list Array of URLs for a sitemap. |
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. |
check_for_simple_xml_availability() X-Ref |
Checks for the availability of the SimpleXML extension and errors if missing. |
Generated : Tue Dec 24 08:20:01 2024 | Cross-referenced by PHPXref |