WordPress.org

Support

Support » Plugins and Hacks » WooCommerce » How to Remove lost password link to woocommerce account

How to Remove lost password link to woocommerce account

  • I would basically like to remove the function of the lost password link, so that it doesnt go to the woocommerce my account page settings.

    I want my login page to be the default wordpress login page and i want all of the functions like the “lost password” link.

    I dont want to use the woocommmerce my account settings so i will basically delete the page and all.

    If you guys could help me that would be great.

    https://wordpress.org/plugins/woocommerce/

Viewing 7 replies - 1 through 7 (of 7 total)
  • i am interested in this too

    esmi

    @esmi

    Forum Moderator

    @davidsless: If you require assistance then, as per the Forum Welcome, please post your own topic.

    @davidsless i solved my own solution

    just use a redirection plugin

    whatever url the lost password link redirects you ,use the redirect plugin to redirect that url you dont want, to something like this yoursite.com/login/?action=lostpassword

    Hi, searching about this issue as well, I’ve found the function to deal with this (without plugins)
    It just works fine for me.

    function reset_pass_url() {
        $siteURL = get_option('siteurl');
        return "{$siteURL}/wp-login.php?action=lostpassword";
    }
    add_filter( 'lostpassword_url',  'reset_pass_url', 11, 0 );

    Seen in this post of woo community.

    Hi diggeridoo,

    where did you put this function?

    Hi, you have to put this into the functions.php file within your theme.
    If you don’t have experience, I recommend you to make a search about editing this file before changing it.

    @diggeridoo,
    Thank U!
    but ..
    link (lost password) still in place – as it removed?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to Remove lost password link to woocommerce account’ is closed to new replies.
Skip to toolbar