New answers tagged


There is the action hook user_register that is called immediately after a user is added to the database. The user id is passed to the hook as an argument. You can use wp_insert_post to insert a new post in that action. You just need to get the relevant info from the user and add it to the post. You can add custom fields to the post you create by referencing ...


This works for me. I am using WP-Members plugin (and hook). add_action( 'wpmem_post_register_data', 'my_registration_hook', 1 ); function my_registration_hook( $fields ) { wp_set_current_user( $fields['ID'] ); $creds = array( 'user_login' => $fields['username'], 'user_password' => $fields['password'], 'rememember' ...


Just to chime in, we use a plugin called ProfilePress ( and couldn't be happier with it. It's actually a shortcode based WordPress form builder for creating custom login, registration and password reset forms at the front-end of your site.


You must use enctype="multipart/form-data" in the <form> tag for the file upload to work.

Top 50 recent answers are included