Freemius::_activate_theme_event_hook()

Method: Saves the slug of the previous theme if it still exists so that it can be used by the logic in the opt-in form that decides whether to add a close button to the opt-in dialog or not. So after a premium-only theme is activated, the close button will appear and will reactivate the previous theme if clicked. If the previous theme doesn’t exist, then there will be no close button.

Source: includes/pum-sdk/freemius/includes/class-freemius.php:6948

Used by 0 functions | Uses 0 functions