You appear to be a bot. Output may be restricted
Description
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.
Usage
Jetpack_Sitemap_Buffer::try_to_add_item( $item );
Parameters
- $item
- ( string ) required – The item to be added.
Returns
void
Source
File name: jetpack/modules/sitemaps/sitemap-buffer.php
Lines:
1 to 8 of 8
public function try_to_add_item( $item ) { _deprecated_function( 'Jetpack_Sitemap_Buffer::try_to_add_item', '5.3.0', 'Jetpack_Sitemap_Buffer::append' ); $this->append( $item ); }