Core Class
View Source on Trac ↗
Core Class
WP_Sitemaps_Stylesheet
class WP_Sitemaps_Stylesheet
// Constructor: function Object() { [native code] } Stylesheet provider class.
Methods 4 methods
| Method / Return | Description |
|---|---|
| render_stylesheet() void | Renders the XSL stylesheet depending on whether it's the sitemap index or not.
Parameters: $type: mixed |
| get_sitemap_stylesheet() void | Returns the escaped XSL for all sitemaps, except index. |
| get_sitemap_index_stylesheet() void | Returns the escaped XSL for the index sitemaps. |
| get_stylesheet_css() string | Gets the CSS to be included in sitemap XSL stylesheets. |
Class Information
Since Version
5.5.0
Source File
wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php
Advertisement