[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/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):
  render_stylesheet()
  get_sitemap_stylesheet()
  get_sitemap_index_stylesheet()
  get_stylesheet_css()


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.

since: 5.5.0
return: string The CSS.



Generated: Wed Oct 20 01:00:08 2021 Cross-referenced by PHPXref 0.7.1