[ Index ]

PHP Cross Reference of WordPress




/wp-includes/sitemaps/ -> class-wp-sitemaps-stylesheet.php (summary)

Sitemaps: WP_Sitemaps_Stylesheet class This class provides the XSL stylesheets to style all sitemaps.

File Size: 316 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WP_Sitemaps_Stylesheet:: (4 methods):

Class: WP_Sitemaps_Stylesheet  - X-Ref

Stylesheet provider class.

render_stylesheet( $type )   X-Ref
Renders the XSL stylesheet depending on whether it's the sitemap index or not.

param: string $type Stylesheet type. Either 'sitemap' or 'index'.

get_sitemap_stylesheet()   X-Ref
Returns the escaped XSL for all sitemaps, except index.

since: 5.5.0

get_sitemap_index_stylesheet()   X-Ref
Returns the escaped XSL for the index sitemaps.

since: 5.5.0

get_stylesheet_css()   X-Ref
Gets the CSS to be included in sitemap XSL stylesheets.

return: string The CSS.
since: 5.5.0

Generated: Tue May 18 01:00:05 2021 Cross-referenced by PHPXref 0.7.1