function xmlsitemap_sitemap_multiple_update in XML sitemap 7.2
Same name and namespace in other branches
- 8 xmlsitemap.module \xmlsitemap_sitemap_multiple_update()
- 6.2 xmlsitemap.xmlsitemap.inc \xmlsitemap_sitemap_multiple_update()
- 2.x xmlsitemap.module \xmlsitemap_sitemap_multiple_update()
XML sitemap operation callback; regenerate sitemap files using the batch API.
Parameters
array $smids: An array of XML sitemap IDs.
See also
1 string reference to 'xmlsitemap_sitemap_multiple_update'
File
- ./
xmlsitemap.xmlsitemap.inc, line 376 - XML sitemap integration functions for xmlsitemap.module.
Code
function xmlsitemap_sitemap_multiple_update(array $smids) {
module_load_include('generate.inc', 'xmlsitemap');
$batch = xmlsitemap_regenerate_batch($smids);
batch_set($batch);
}