protected static function first_announce($announce) { while (is_array($announce)) { $announce = reset($announce); } return $announce; }