SHB1 plays dual roles in photoperiodic and autonomous flowering.