You are here

function drush_simplesitemap_generate in Simple XML sitemap 8

Callback function for hook_drush_command().

Regenerate sitemap for all languages.

1 string reference to 'drush_simplesitemap_generate'
simplesitemap_drush_command in ./simplesitemap.drush.inc
Implements hook_drush_command().

File

./simplesitemap.drush.inc, line 26
Drush integration.

Code

function drush_simplesitemap_generate() {
  $sitemap = new Simplesitemap();
  $sitemap
    ->generate_sitemap();
}