after_switch_theme
最后更新于:2021-11-25 19:52:51
do_action( ‘after_switch_theme’, string $old_name, GC_Theme $old_theme )
Fires on the first GC load after a theme switch if the old theme still exists.
参数
- $old_name
-
(string)
Old theme name.
- $old_theme
-
(GC_Theme)
GC_Theme instance of the old theme.
源文件
文件: gc-includes/theme.php
View on Trac