do_action ( 'jetpack_pre_switch_theme', string $theme_slug, mixed $args )

Trigger action before the switch theme happens.

Source file: json-endpoints/jetpack/class.jetpack-json-api-themes-active-endpoint.php

View in GitHub



(string) Directory name for the theme.


(mixed) POST body data, including info about the theme we must switch to.


Since: Jetpack 11.1


Have a note to contribute?

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s