Trigger action before the switch theme happens.
Parameters
- $theme_slug
string
Directory name for the theme.
- $args
mixed
POST body data, including info about the theme we must switch to.
Changelog
- Introduced in Jetpack 11.1
jetpack_pre_switch_theme
Trigger action before the switch theme happens.
string
Directory name for the theme.
mixed
POST body data, including info about the theme we must switch to.