remove redirect to activation/update pages

Home Forums Calendar Products Events Calendar PRO remove redirect to activation/update pages

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #924357
    William Ranney
    Participant

    We have a multisite install where we don’t want our clients redirected to the activation/update pages. Can you help me figure out how to disable those redirects? I found this (http://pastebin.com/FAvMaaH6) and it works, but prevents the Media Library from loading properly, so that’s not a viable solution.

    Thanks!

    #924372
    Barry
    Member

    Hi wranne,

    Could you try changing that same snippet, replacing this line:

    add_action( 'admin_init', 'tribe_remove_activation_page', 1 );

    With these two lines instead:

    remove_action( '_network_admin_menu', 'tribe_remove_activation_page', 20 );
    remove_action( '_admin_menu', 'tribe_remove_activation_page', 20 );

    The rest of the snippet can stay as it is. Does that work for you?

    #924694
    William Ranney
    Participant

    Thanks, Barry, that did the trick. Happy holidays!

    #926269
    Barry
    Member

    Fantastic 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘remove redirect to activation/update pages’ is closed to new replies.