Account Form > Password Change Fields

This topic contains 1 reply, has 2 voices, and was last updated by  Alex Rollin 3 weeks, 1 day ago.

  • Author
    Posts
  • #4622

    Eugene UK
    Free User
    Post count: 18

    Is there a way to add the password change fields or a dedicated tab on the Account Form?

    I found the following code, but it sends you to the whole page, which makes you leave the Account Form.

    add_filter('uwp_account_available_tabs', 'uwp_account_available_tabs_fp');
    function uwp_account_available_tabs_fp($tabs) {
    
        $tabs['change']  = array(
            'title' => __( 'Change Password', 'userswp' ),
            'icon' => 'fa fa-key',
            'link' => uwp_get_change_page_url()
        );
    
        return $tabs;
    }

    Thanks!

    #4624

    Alex Rollin
    Moderator
    Post count: 18504

    There is not, UsersWP includes that in the account edit functionality.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.