WordPress.org

Ready to get started?Download WordPress

Forums

Action hook for user-new.php (5 posts)

  1. dodg
    Member
    Posted 3 years ago #

    Hey there

    I'm looking to add some new fields onto the User Registration screen so that when I add new WP users, I can put some more info. I can't seem to find out how to do this ... heres what I've tried:

    add_action('register_form', 'newFields');
    add_action('show_user_profile', 'newFields');
    add_action('edit_user_profile', 'newFields');

    and I would have thought that the register_form should work, but it doesnt do antyhing?

    Any thoughts et much appreciated.

    Thanks

    Nick

  2. dodg
    Member
    Posted 3 years ago #

    Bumpy-de-bump ??

  3. sicdigital
    Member
    Posted 3 years ago #

    register_form is for the wp-login form. I'm looking for the same thing right now. Did you have any luck?

  4. dodg
    Member
    Posted 3 years ago #

    Sorry no no luck at all. I ended up hacking the WP core code to get it to work. I know the various issues with that ....
    In another project where I used the same function I just told them they had to create the users base info then edit the user to add the extra info.

    Let me know if you find the answer ....

  5. geekly_br
    Member
    Posted 2 years ago #

    Forget ... not working ;[

Topic Closed

This topic has been closed to new replies.

About this Topic