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

Parameters

$theme_slug

(string) Directory name for the theme.

$args

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


Changelog

Since: Jetpack 11.1


Notes

Have a note to contribute?

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

WordPress.com Logo

You are commenting using your WordPress.com 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