Added the status_{$old_status}_to_{$new_status} hook