You appear to be a bot. Output may be restricted
Description
Build and save sitemap to cache.
Usage
$bool = WPSEO_Sitemaps::refresh_sitemap_cache( $type, $page_number );
Parameters
- $type
- ( string ) required – Sitemap type.
- $page_number
- ( int ) required – The page number to save to.
Returns
bool
Source
File name: wordpress-seo/inc/sitemaps/class-sitemaps.php
Lines:
1 to 6 of 6
private function refresh_sitemap_cache( $type, $page_number ) { $this->set_n( $page_number ); $this->build_sitemap( $type ); return $this->cache->store_sitemap( $type, $page_number, $this->sitemap, ! $this->bad_sitemap ); }