function process_recurrent_untrashing($post_id) { $event = new Eab_EventModel(get_post($post_id)); if (!$event->is_recurring()) { return false; } $event->untrash_recurring_instances(); }
function process_recurrent_untrashing($post_id) { $event = new Eab_EventModel(get_post($post_id)); if (!$event->is_recurring()) { return false; } $event->untrash_recurring_instances(); }