adding new fields/infos to the user profile – action hooks…
i hope someone can help me. i am trying to build a plugin for my wordpress users. i want to
add some fields and options in the users profile which you can find in the administration: ‘Users’ -> ‘Your Profile’.
here i want to add fields like birthday, picture-upload, etc. i put the fields with the help of the
add_action(‘show_user_profile’, ‘do_something’) function into the profile page, but i don
t know how to put the user data into the database.t if it is possible to add new infos to the user profiles this way. thanx for all answers…
i searched in several functions of wordpress for a possibility to process the user data. in wp-adminuser-edit.php the user data will be processed.
there it calls a method named 'edit_user()' (wp-adminadmin-functions.php) and this one calls 'wp_update_user()' in registration-functions.php.
- The topic ‘adding new fields/infos to the user profile – action hooks…’ is closed to new replies.