How do I update user email from frontend input field?

You can diagnose error while updating user email. $user_data = wp_update_user( array( ‘ID’ => $user_id, ‘user_email’ => $email ) ); if ( is_wp_error( $user_data ) ) { // There was an error; possibly this user doesn’t exist. echo ‘Error.’; } else { // Success! echo ‘User profile updated.’; } Might it can help you.

Create WordPress User in backend, and automatically create a new post in Custom Post Type with user uame as the Title in the post

Modified your code above to post to the custom post type “Bookings,” set to draft, and use the user ID number as the post title. I also added a return value for the new post id so redirecting to that id or linking to it is much easier. add_action( ‘user_register’, ‘myplugin_registration_save’, 10, 1 ); function … Read more