• Resolved icyplains

    (@icyplains)


    I get an error message “Error: Please enter a nickname.” after removing the nickname field using this code when the user tries to edit their profile. I have purchased the Profiles add-on.

    function remove_tml_profile_fields() {
            tml_remove_form_field( 'profile', 'first_name' );
            tml_remove_form_field( 'profile', 'last_name' );
            tml_remove_form_field( 'profile', 'nickname' );
    }
    add_action( 'init', 'remove_tml_profile_fields' );
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error after removing nickname from Profile form’ is closed to new replies.