I believe that the Wren hunting was originally a twelfth night custom. When the 11 days were 'lost' in 1752 when the calendar was realigned, many people kept the 'old christmas' for a while,and 12th night fell on 26th Dec. The line 'Old Christmas is past, 12th night is the last, chimes with this.