| [ 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: | 310 lines (8 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
WP_Sitemaps_Renderer:: (9 methods):
__construct()
get_sitemap_stylesheet_url()
get_sitemap_index_stylesheet_url()
render_index()
get_sitemap_index_xml()
render_sitemap()
get_sitemap_xml()
apply_deprecated_stylesheet_filters()
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 Empty string. |
| get_sitemap_index_stylesheet_url() X-Ref |
| Gets the URL for the sitemap index stylesheet. return: string Empty string. |
| 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. |
| apply_deprecated_stylesheet_filters( string $type ) X-Ref |
| Applies the removed stylesheet filters so that their callbacks trigger deprecation notices. The stylesheet filters no longer have any effect. Applying them where a sitemap is generated ensures a callback still added to one is reported rather than silently ignored. No notice is triggered for a filter that has no callbacks. param: 'sitemap'|'index' $type Sitemap type. |
| check_for_simple_xml_availability() X-Ref |
| Checks for the availability of the SimpleXML extension and errors if missing. |
| Generated : Thu Oct 15 08:20:32 2026 | Cross-referenced by PHPXref |