mainwp_before_theme_action

Fires before theme activate/delete actions.

Parameters

$action
(string) Ignored themes list.
$theme
(string) Theme slug.
$website
(object) Object containing the child site data.

Usage Example