[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

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: 317 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.


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


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

return: string The CSS.



Generated : Thu Apr 18 08:20:02 2024 Cross-referenced by PHPXref