The transcription factor is an essential factor for regulating the responses of plants to external stimuli. The WRKY protein is a superfamily of plant transcription factors involved in response to various stresses (e.g., cold, heat, salt, drought, ions, pathogens, and insects). During angiosperm evolution, the number and function of WRKY transcription factors constantly change. After suffering from long-term environmental battering, plants of different evolutionary statuses ultimately retained different numbers of WRKY family members. The WRKY family of proteins is generally divided into three large categories of angiosperms, owing to their conserved domain and three-dimensional structures. The WRKY transcription factors mediate plant adaptation to various environments via participating in various biological pathways, such as ROS (reactive oxygen species) and hormone signaling pathways, further regulating plant enzyme systems, stomatal closure, and leaf shrinkage physiological responses. This article analyzed the evolution of the WRKY family in angiosperms and its functions in responding to various external environments, especially the function and evolution in Magnoliaceae plants. It helps to gain a deeper understanding of the evolution and functional diversity of the WRKY family and provides theoretical and experimental references for studying the molecular mechanisms of environmental stress.