wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
after_switch_theme › Hooks de Ações WordPress
Desde3.3.0
Obsoleton/a
› do_action( 'after_switch_theme', $old_theme->get( 'Name' )
| Parâmetros: (2) |
|
| Definido em: |
|
| Codex: |
Fires on the next WP load after the theme has been switched.
The parameters differ according to whether the old theme exists or not. If the old theme is missing, the old name will instead be the slug of the old theme. See {@see 'switch_theme'}.Funções relacionadas: switch_theme, make_site_theme, get_theme, update_site_meta, fetch_feed, get_themes
Hooks relacionados: after_setup_theme, switch_theme, after_theme_row, after_wp_tiny_mce, enter_title_here