You appear to be a bot. Output may be restricted
Description
Usage
Jetpack_Sitemap_Buffer_Empty::get_root_element();
Parameters
Returns
void
Source
File name: jetpack/modules/sitemaps/sitemap-builder.php
Lines:
1 to 10 of 10
protected function get_root_element() { if ( ! isset( $this->root ) ) { $this->root = $this->doc->createElement( 'sitemapindex' ); $this->root->setAttribute( 'xmlns', 'http://www.sitemaps.org/schemas/sitemap/0.9' ); $this->doc->appendChild( $this->root ); $this->byte_capacity -= strlen( $this->doc->saveXML( $this->root ) ); } return $this->root; }