This is not a WooCommerce question. Once the user is registered you use WordPress functions to verify whether the user is logged in and to retrieve the user’s info. Assuming you are saving the user info correctly, then this should show a user’s first name to the user, and a generic message to a non-logged-in user.
if ( is_user_logged_in() ) {
$current_user = wp_get_current_user();
echo 'Welcome, ' . $current_user->user_firstname . '!';
} else {
echo 'Welcome, visitor!';
}
See the Codex for references:
Related Posts:
- How to get user-meta from Social Login registered users?
- Upload files programmatically to users
- Average Account Age
- Linking form to user meta fields
- Where the Nickname is being used in WordPress
- How to have WordPress send a user confirmation/validation email on signup
- How can i force Display names to be the same as Usernames?
- Building a scalable WordPress favouriting plugin – one serialised meta value array or many meta records
- How can a Firebase user registration and login be integrated into a WordPress site?
- How to add usermeta to “Notice of Email Change” email message
- How to create custom LOGIN and REGISTRATION forms?
- How to turn off email you receive when registered?
- Registration Form Validation in wordpress
- delete_user_meta Delete one value out of array
- Will WordPress username displayed somewhere in the site?
- What plugin should I use for a basic user signup/login system [closed]
- How to display public user profile with 2 additional fields? (GitHub source code included)
- Is there any good tutorial to write custom login, registration and password recovery forms? [closed]
- action-scheduler vs wp-background-processing
- update_user_meta add value on the top on existing value
- Set user ID at time of wp_create_user
- I’m trying to update user meta but is always 1, What I doing wrong? [closed]
- Form doesn’t submit on second submit call
- How to keep users unique id stored in session in addition to IP in WordPress plugin?
- How to save additional user data as part of the registration process?
- WordPress Registration Email by Role
- Add a captcha form to the woocommerce register form
- WordPress Central User Database
- wp_set_auth_cookie causes 403 error in the wooCommerce checkout
- Create custom registration form for WordPress Multisite
- Modifying Author Link to add Author Meta in URL
- User registration
- update_user_meta() misfires sometimes
- WordPress Integration with Google Groups
- Cannot update user display_name field
- Users are being redirected to main site when trying to register on subsite of my Multisite network
- Preventing My Plugin From Being Used For Free
- easy steps to make front end form without plugin
- How to create multiple users at once?
- Shortcode to update user meta
- Using WordPress to build membership Page
- Search users with custom meta data
- Add user meta after a user has registered and logged In [closed]
- WordPress /users/me endpoint request forbidden
- The add_action(‘register_form’) isn’t effecting my registration form
- How to find the Registration page
- wp_logout_url($redirect); is not working in wordpress
- Best practices for user registration with WordPress from an MVC background
- How can I apply no-disposable when programmatically adding a user with wp_insert_user()?
- Different registration form for different roles
- Structuring function with registration_errors hook
- How to automatically activate users after registration without activation email?
- Auto populate a user custom field from another user custom field
- Get user edit functions in frontend for site admin
- Changing the Default New User Notification Email
- How to add Mobile field in Registration form using Theme my login Plugin
- User updating their profile wipes my custom fields
- How To Export User’s Custom Fields in CSV or XLSX
- Get all user meta_keys and then group users by matching values
- Searchable Semi Random Number Generator on User Profiles
- Saving data only when payment is successful
- Create password protected page, no registration
- User / membership Plugin [closed]
- Modifying meta keys in User Meta Pro using user_meta_pre_user_register not working
- How to use get_user_by in plugin
- Overwrite user role
- Confusing problem with displaying message recipient metadata
- Custom Widget not Available after Plugin Installation
- Users Ultra: Hide asterisk for required registration fields?
- Need help getting a certain value out of a multi dimensional array
- How to delete only user meta value (not key) from usermeta table in wordpress?
- How set role at registration based on email?
- Private WordPress blog, requires user registration approval, and allowing users to login with OpenID
- How to delete user meta by key
- Plugin De/Activation Not Firing On MultiSite install
- Getting label name of extra user fields
- What plugin(s) are best for this User registration task? [closed]
- Buddypress Plugin for register user from other site’s [closed]
- custom registration form [duplicate]
- I want to remove the register/login WordPress top bar from my website
- User register hook can’t access form request
- Creating a full business website
- Need a Plugin to create a registration form for my website? [closed]
- WordPress s2 member plugin not working [closed]
- WordPress isn’t sending welcome email with the password reset
- WordPress User Registration/ Sign Up -> Able to take Paid Certification Courses & keep track of Completed Certificates
- Issues with creating user profile for a subscriber, but with different profile page and functionalities
- Is there a plugin or resource for custom implementation for OAUTH and regular user login?
- How to add usermeta for existing users when user profile is updated
- What forum plugin can I use to allow non-registered users to create posts and comment? [closed]
- Edit Buddypress Groups Activity Page Text [closed]
- Contents are missing but shown when switching to another theme in wordpress
- GravityForms to Salesforce API, problem with people who leave out company [closed]
- Active Plugins for current blog in WP Multisite Network? [duplicate]
- product_tag to style an image
- Add plugin by SVN. Current version problem
- Non english charcters support for WP Customer Reviews
- Why links are not linked if edited comment?
- What possible reasons can cause my plugin not to be listed in the plugin search in the back-end of wordpress installs?
- In my plugin when i call select page is blank