• Resolved tceg

    (@tceg)


    Hi,

    I’m currently using the below code to add a Mobile number field on the account tab.

    add_filter( 'um_account_tab_general_fields', 'my_um_account_mobile', 10, 2 );
    
    function my_um_account_mobile( $args, $shortcode_args ) {
    
        $args .= ',phone_number,mobile_number';
        return $args;
    }

    But once I change the number in the field it updates but as soon as I leave the page and come back it display the old number.

    Any help would be really appreciated.

    Kind regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @tceg

    Could you please try disabling the User Cache and see if the issue still occurs when saving the form? You can disable the User Cache in WP-Admin > Ultimate Member > Settings > Misc > Disable Cache User Profile.

    Regards,

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @tceg

    …This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread by changing the Topic Status to ‘Not Resolved’ if any other questions come up and we’d be happy to help. 🙂

    Regards,

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

The topic ‘Account tab custom field not saving data.’ is closed to new replies.