You appear to be a bot. Output may be restricted
Description
Retrieve the contents of the buffer.
Usage
$string = Jetpack_Sitemap_Buffer::contents();
Parameters
Returns
string The contents of the buffer (with the footer included).
Source
File name: jetpack/modules/sitemaps/sitemap-buffer.php
Lines:
1 to 7 of 7
public function contents() { if ( $this->is_empty() ) { // The sitemap should have at least the root element added to the DOM. $this->get_root_element(); } return $this->doc->saveXML(); }