You are here

function xmlsitemap_sitemap_multiple_update in XML sitemap 2.x

Same name and namespace in other branches
  1. 8 xmlsitemap.module \xmlsitemap_sitemap_multiple_update()
  2. 6.2 xmlsitemap.xmlsitemap.inc \xmlsitemap_sitemap_multiple_update()
  3. 7.2 xmlsitemap.xmlsitemap.inc \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

xmlsitemap_regenerate_batch()

1 string reference to 'xmlsitemap_sitemap_multiple_update'
xmlsitemap_xmlsitemap_sitemap_operations in ./xmlsitemap.module
Implements hook_xmlsitemap_sitemap_operations().

File

./xmlsitemap.module, line 1998
xmlsitemap XML sitemap

Code

function xmlsitemap_sitemap_multiple_update(array $smids) {
  $batch = xmlsitemap_regenerate_batch($smids);
  batch_set($batch);
}