You are here

function xmlsitemap_sitemap_multiple_update in XML sitemap 8

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

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 2038
xmlsitemap XML sitemap

Code

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