You appear to be a bot. Output may be restricted
Description
Initial state for the sitemap generator.
Usage
$array = Jetpack_Sitemap_State::initial( $type );
Parameters
- $type
- ( string ) optional default: JP_PAGE_SITEMAP_TYPE – The initial sitemap type.
- sitemap-type
- ( string ) optional default: JP_PAGE_SITEMAP_TYPE – The type of sitemap to be generated.
- last-added
- ( int ) optional default: JP_PAGE_SITEMAP_TYPE – The largest index to be added to a generated sitemap page.
- number
- ( int ) optional default: JP_PAGE_SITEMAP_TYPE – The index of the last sitemap to be generated.
- last-modified
- ( string ) optional default: JP_PAGE_SITEMAP_TYPE – The latest timestamp seen.
- max
- ( array ) optional default: JP_PAGE_SITEMAP_TYPE – The latest index of each sitemap type seen. }
Returns
array $args {
Source
File name: jetpack/modules/sitemaps/sitemap-state.php
Lines:
1 to 9 of 9
private static function initial( $type = JP_PAGE_SITEMAP_TYPE ) { return array( 'sitemap-type' => $type, 'last-added' => 0, 'number' => 0, 'last-modified' => '1970-01-01 00:00:00', 'max' => array(), ); }