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_themeTrigger action before the switch theme happens.
stringDirectory name for the theme.
mixedPOST body data, including info about the theme we must switch to.