You are here

function taxonomy_tools_publisher_cron in Taxonomy Tools 7

Same name and namespace in other branches
  1. 8 taxonomy_tools_publisher/taxonomy_tools_publisher.module \taxonomy_tools_publisher_cron()

Implements hook_cron().

File

taxonomy_tools_publisher/taxonomy_tools_publisher.module, line 169
Drupal hooks and functions to manipulate taxonomy terms.

Code

function taxonomy_tools_publisher_cron() {

  // Publish terms.
  taxonomy_tools_publisher_publish();

  // Allow other modules to act upon scheduled term publishing.
  module_invoke_all('taxonomy_tools_publisher_terms_publish');

  // Unpublish terms.
  taxonomy_tools_publisher_unpublish();

  // Allow other modules to act upon scheduled term publishing.
  module_invoke_all('taxonomy_tools_publisher_terms_unpublish');
}