Support » Plugins and Hacks » Action hook for user-new.php

  • 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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Bumpy-de-bump ??

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

    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 ….

    Forget … not working ;[

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Action hook for user-new.php’ is closed to new replies.