public function get_event($timestamp, $action_hashed, $instance)
{
$events = get_option('cron');
$event = false;
$filtered_events = collapse_events_array($events, $timestamp);
foreach ($filtered_events as $filtered_event) {
if (hash_equals(md5($filtered_event['action']), $action_hashed) && hash_equals($filtered_event['instance'], $instance)) {
$event = $filtered_event['args'];
$event['timestamp'] = $filtered_event['timestamp'];
$event['action'] = $filtered_event['action'];
$event['instance'] = $filtered_event['instance'];
break;
}
}
return $event;
}