Support » Plugin: Gutenberg Blocks – Ultimate Addons for Gutenberg » Add hook to disable redirect on activation

  • Resolved Cyclone Themes

    (@cyclonetheme)


    Hello,

    I am creating a new theme and from TGMPA I have recommended some plugins, after installing and activating it redirects to your plugin page. I don’t want that, I have my own theme page, I want to redirect there.

    Thank you

Viewing 1 replies (of 1 total)
  • Plugin Support Team Brainstorm Force

    (@brainstormteam)

    Hey,

    Thank you for reaching us out.

    You can do that by adding this code –

    add_action( 'init', function(){
    	update_option( '__uagb_do_redirect', false );
    } );

    I hope this resolves your query.

    Regards,
    Vrunda Kansara

Viewing 1 replies (of 1 total)
  • The topic ‘Add hook to disable redirect on activation’ is closed to new replies.