• Resolved adrifts

    (@adrifts)


    Hello,

    Is there anyway to add the Verify your Email Notice on the forced logout when prevent user login is activated?

    I noticed in your code you’re running wp_logout() and redirecting to a page with the notice. But instead there’s a force redirect to the home page and nothing appears.

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Algoritmika

    (@algoritmika)

    Hi @adrifts,

    Thanks for investigating the code. Now I’m trying to understand why it’s not redirecting to a page with the notice. Could you please try temporary commenting wp_logout(), so we could understand is it wp_logout() which is forcing redirect to the home page, or is it something in woocommerce_registration_redirect filter.

    Thread Starter adrifts

    (@adrifts)

    Hello,

    I experimented doing that with the plugins previous version and with todays update and commenting wp_logout() reloads the page to the logged in my-account page with the notice.

    Plugin Author Algoritmika

    (@algoritmika)

    Hi again @adrifts,

    Thank you for the feedback. Could you please update the plugin to the latest v1.4.1 (that we’ve just released), then go to “WooCommerce > Settings > Email Verification > General” and enable new checkbox that I’ve added – Custom “logout” function – it’s at the bottom of the settings page, in “Advanced Options” subsection.

    Please let me know if that helped.

    Thread Starter adrifts

    (@adrifts)

    It worked perfectly thank you so much.

    Plugin Author Algoritmika

    (@algoritmika)

    Hi @adrifts,

    Thank you for the feedback and glad to hear it’s working as expected now.

    Please let me know if you need anything else.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Notice on prevent login & redirect’ is closed to new replies.