You are here

function xmlsitemap_exit in XML sitemap 5

Same name and namespace in other branches
  1. 5.2 xmlsitemap/xmlsitemap.module \xmlsitemap_exit()

Implementation of hook_exit().

Related topics

File

./xmlsitemap.module, line 819
Creates a site map compatible with the sitemaps.org schema.

Code

function xmlsitemap_exit() {
  if (_xmlsitemap_submit_on_exit()) {
    _xmlsitemap_ping();
  }
}