WordPress.org

Support

Support » Plugins and Hacks » User registration & user profile - Profile Builder » [Resolved] Is it possible to dispaly the Extra user fileds in the edit profile page

[Resolved] Is it possible to dispaly the Extra user fileds in the edit profile page

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor barinagabriel

    @barinagabriel

    Hello,

    you can use the following filter to display anything in the edit profile page: extraEditProfileFilter

    something like:

    function my_new_data(){
    return ‘Hello!’;
    }
    add_filter ( ‘extraEditProfileFilter’, ‘my_new_data’);

    There are other filters in the page you can use, but this one will display the added data after the existing fields (right before the submit button).
    Also, if you want to add editable fields, make sure you add code for when posted data is sent to the server, as the above filter doesn’t save the entered data *automatically*

    Regards,
    Gabriel

    naveenbos

    @naveenbos

    In which file i need to change ? is it possible to chage codes in your plugin?

    Plugin Contributor barinagabriel

    @barinagabriel

    Hello,

    you can change any file in the plugin, but we highly discourage this, as you will lose any changes made upon update.

    Instead, the above example can safely be added to your currently active theme’s functions.php file, w/o worrying about future changes.

    Gabriel

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Is it possible to dispaly the Extra user fileds in the edit profile page’ is closed to new replies.
Skip to toolbar