Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter nboot8

    (@nboot8)

    If you could please point me to an action that UM does trigger, I can also update my functions file with the following:

    ***

    add_action(‘wp_logout’, ‘custom_logon_on_off’);
    add_action(‘wp_login’, ‘custom_logon_on_off’);

    function custom_logon_on_off() {
    global $wc_catalog_restrictions;

    $wc_catalog_restrictions->clear_transients();
    }

    ***

    Thanks

    Plugin Author Ultimate Member

    (@ultimatemember)

    Do you want to hook in UM login process?

    Thanks!

    Thread Starter nboot8

    (@nboot8)

    Hi,
    Thanks for the quick response. Yes, I think that would work. Do you have a link that shows the actions associated with that process?

    Thanks again…

    Plugin Author Ultimate Member

    (@ultimatemember)

    Yes here are the actions:

    // Hook that runs after successful login and before user is redirected
    do_action('um_on_login_before_redirect', um_user('ID') );

    Will that do the job?

    Thread Starter nboot8

    (@nboot8)

    Testing it now… I’ll let you know the results. Thank you

    Thread Starter nboot8

    (@nboot8)

    PERFECT!!!

    Thanks for your excellent and prompt support. I really appreciate you going out of your way to accommodate this requirement.

    Have a great weekend!

    Plugin Author Ultimate Member

    (@ultimatemember)

    You too,

    Thanks 🙂

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘WooCommerce Login Method Conflict’ is closed to new replies.