Plugin activate
-
Hi
Could you please update the activation of your plugin . Otherwise, it causes a problem when using your plugin in TGMA .
contact-form-7-mailchimp-extension/lib/activate.php
function pix_activation_screen_activate() { set_transient( '_pix_activation_screen_activate', true, 20 ); } register_activation_hook( FILE, 'pix_activation_screen_activate' ); function pix_activation_redirect() { if ( ! get_transient( '_pix_activation_screen_activate' ) ) { return; } delete_transient( '_pix_activation_screen_activate' ); if ( is_network_admin() || isset( $_GET['activate-multi'] ) ) { return; } wp_safe_redirect( add_query_arg( array( 'page' => 'adminpanel' ), admin_url( 'themes.php' ) ) ); } add_action( 'admin_init', 'pix_activation_redirect' ); Best regards, the Templines team
- The topic ‘Plugin activate’ is closed to new replies.