• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Jetpack a2z

Jetpack a2z

Jetpack a2z

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Classes / Jetpack_Sitemap_Buffer

Methods

1 to 11 of 11
  • Jetpack_Sitemap_Buffer::__construct() – Construct a new Jetpack_Sitemap_Buffer.
  • Jetpack_Sitemap_Buffer::append() – Append an item to the buffer, if there is room for it, and set is_empty_flag to false. If there is no room, we set is_full_flag to true. If $item is null, don’t do anything and report success.
  • Jetpack_Sitemap_Buffer::array_to_xml_string() – Render an associative array as an XML string. This is needed because SimpleXMLElement only handles valid XML, but we sometimes want to pass around (possibly invalid) fragments. Note that ‘null’ values make a tag self-closing; this is only sometimes correct (depending on the version of HTML/XML); see the list of ‘void tags’.
  • Jetpack_Sitemap_Buffer::contents() – Retrieve the contents of the buffer.
  • Jetpack_Sitemap_Buffer::get_document() – Retrieve the document object.
  • Jetpack_Sitemap_Buffer::get_root_element() – Returns a DOM element that contains all sitemap elements.
  • Jetpack_Sitemap_Buffer::is_empty() – Detect whether the buffer is empty.
  • Jetpack_Sitemap_Buffer::is_full() – Detect whether the buffer is full.
  • Jetpack_Sitemap_Buffer::last_modified() – Retrieve the timestamp of the buffer.
  • Jetpack_Sitemap_Buffer::try_to_add_item() – Append an item to the buffer, if there is room for it, and set is_empty_flag to false. If there is no room, we set is_full_flag to true. If $item is null, don’t do anything and report success.
  • Jetpack_Sitemap_Buffer::view_time() – Update the timestamp of the buffer.

Extended by

Class name: Jetpack_Sitemap_Buffer
Plugin ref: Jetpack
Version: 9.2
Sourcefile: modules/sitemaps/sitemap-buffer.php
File ref: modules/sitemaps/sitemap-buffer.php
API Letters: B,J,S

Related

Published: 27 November 2019 | Last updated: 10 December 2020

Primary Sidebar

Information

Class name: Jetpack_Sitemap_Buffer
Plugin ref: Jetpack
Version: 9.2
Sourcefile: modules/sitemaps/sitemap-buffer.php
File ref: modules/sitemaps/sitemap-buffer.php
API Letters: B,J,S

Footer

Jetpack a2z
Jetpack a2z
Jetpack a2z
WordPress 5.6
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  jetpack.wp-a2z.org
© Copyright Jetpack a2z 2014-2021. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites