You are here

function ultimate_cron_get_hook in Ultimate Cron 7.2

Get a specific cron hook.

Parameters

string $name: Name of hook.

bool $reset: Reset static cache.

Return value

array Hook definition.

File

./ultimate_cron.module, line 1292

Code

function ultimate_cron_get_hook($name, $reset = FALSE) {
  $hooks = ultimate_cron_get_hooks($reset);
  return $hooks[$name];
}