Support » Plugin: Ultimate Member - User Profile & Membership Plugin » Programatically prevent redirection

  • Hi there,

    I’m the developer of Charitable, which is a donation plugin. I’m trying to troubleshoot an issue one of our mutual users is experiencing to do with email verification.

    We have an email verification process in Charitable, which donors complete to access their entire donation history if they have made donations when they weren’t logged in. The email verification link gets sent correctly, and the link ends up being something like this:

    http://charitable.local/user/email-verification/?key=4Hp6GHF65njbTir1s0Kw&login=eric98364%40whatever.com&redirect_to=http%3A%2F%2Fcharitable.local%2Fmy-donations%2F

    The problem is that when you click on this link, Ultimate Member redirects the user to their profile page (http://charitable.local/user/eric98364whatever-com/) before Charitable has a chance to process the verification. I found the um_access_check_individual_term_settings hook which looks like the last hook available before UM does its redirect, but I don’t see any way to _prevent_ the redirect cleanly. i.e. I can’t seem to set the allow_access property to true since it’s a private var.

    Any ideas on how we can collaborate to make Charitable & UM play nice?

    Cheers,
    Eric

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.