Account Form > Password Change Fields

This topic contains 1 reply, has 2 voices, and was last updated by  Alex Rollin 5 months, 1 week ago.

  • Author
    Posts
  • #4622

    Eugene UK
    Free User
    Post count: 19

    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: 23109

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

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

The topic ‘Account Form > Password Change Fields’ is closed to new replies, this may be for inactivity, please open a new topic if you have a similar question.