You can use this:
$user = get_user_by( 'email', '[email protected]' );/*$user gives you all data*/
$first_name = $user->first_name;/*$first_name gives you first name*/
$last_name = $user->last_name;
Related Posts:
- Where the Nickname is being used in WordPress
- Remove WordPress Toolbar buttons
- How to hide fields from my user profiles
- Remove toolbar option (and set to default to no) in user profile
- How to display public user profile with 2 additional fields? (GitHub source code included)
- How to make first_name and last_name required fields in user profile?
- How to upload user profile image from frontend in wordpress ?
- Information and Videos for Customers in the Backend [closed]
- Redirecting a buddyboss profile tab to a different tab if not subscribed to a specific membership
- Can you use another Profile Builder shortcodes through advanced custom fields
- How to redirect users to their profile after they successfully edit their profile
- How to have sample page for each new register users in a membership website
- how to connect the author profile with google webmaster tools in multiuser blog?
- Add user meta after a user has registered and logged In [closed]
- Get user edit functions in frontend for site admin
- how to create user profile pages and display them based on users roles
- wp_set_password() does not work!
- Which membership plugin enables users to enter html links in blogs and on their profile page?
- Using WordPress to create a simple web app (SaaS) [closed]
- How to get author developer link on plugin page
- How to copy data from user profile page (profile.php) to theme customizer
- how do you point ‘screen_function’ to a function in the same class? [closed]
- Displaying custom profile fields using Mingle Plugin
- How to make wordpress backend mobile optimized.?
- Tips on using a custom template with Ultimate Member
- Issues with creating user profile for a subscriber, but with different profile page and functionalities
- WordPress plugin from own server
- How to avoid plugin name conflicts from the upgrade notifier?
- Can a plugin cause permanent damage?
- Adding an admin page – OOP approach not working
- How can I pass a variable to wp_ajax action?
- Moving image attachment from post to another?
- Under which circumstances is the .maintenance file not deleted?
- Autoload via composer in plugin interference
- WordPress plugin form not saving data
- How do I make images clickable so as to enlarge them using lightbox?
- FacetWP group listings by custom field [closed]
- Plugin Paths Issue
- UnInstallation of a Plugin from a developers perspective – The correct and clean method
- Change wordpress current_time function to different timezone
- Load custom PHP on a custom URL via a plugin
- Restrict media upload size by format
- Creating custom HTML pages
- Two problems on my WordPress installation [closed]
- Frontent user submit and view content [closed]
- Center and hide overflow of WP toolbar custom links
- How to show products attributes in loop? [closed]
- Check if plugin exists/active “class_exists()” does not work on plugin territory
- Best portfolio/gallery/carousel slideshow plugin with thickbox? [closed]
- Override/ignore CSS from active theme as not to interfere with my custom CSS
- WordPress Custom Pages that work with Plugins?
- How to use the CSS of the WordPress core in the development of my administration page?
- Plugin – Admin menu page broken url
- Hide DIV if empty – Plugin Gallery
- how to make dynamic subdomain for each user registering?
- Retrieve Plugin Settings and insert into XML string
- using add_action without having custom plugin or theme
- Is there existing plugins to “Click-to-Launch” embedded Flash / SWF content?
- What archive plugin works with W3 total cache? [closed]
- Theme deactived html and css styling on home page posts
- Website Captcha Error: The reCAPTCHA wasn’t entered correctly
- WordPress Multisite Profile Picture Sync Error with Nextend Social Login Plugin
- WordPress plugins – “Update” in backend vs replacing all files with never version
- Error datatable whit ajax
- How can I change a translation for a string in a plugin?
- New posts are not showing up on my front page
- Can’t Edit Row Layout on SiteOrigin Plugin
- Applying module CSS to page
- How can I recreate my HTML page with custom grid layout (blocks spanning rows and columns) in WordPress?
- Nested Actions and Filters
- Create dynamic / data driven pages in wordpress
- Saving data only when payment is successful
- Creating a plugin to show a pop-up banner on every page
- Plugin sending emails to external addresses, not internal
- Plugin doesn’t update it’s version and code on WordPress.org
- Passing variable from template file to the plugin file
- Method for creating many-to-one Relationships between custom posts and a single user?
- How can I add a custom checkbox / radio button on the admin theme options to display a CSS or other?
- Choose default template for a page with code
- Resetting AUTO_INCREMENT primary key
- Hide some shortcodes on posts from back-end
- Show a table from data submitted by a form from a user
- Issue of page width with twenty fourteen theme
- WordPress Search return wrong results
- Adding google authenticator and use only email address of user
- How to Batch Upload .docx Files as Posts
- WPMU site in subdirectory: When I clone a site with NS Cloner Pro plugin, how do I remove the subdirectory from the URL?
- How to add multiple versions of the same featured image for SEO reasons?
- How can I process all requests for a given directory in a URL with my plugin?
- Rewrite rule help for gallery plugin
- Run WP inside a other Site without using frames
- Twilio Easy Call plugin
- Adding a google map to a metabox, map has inline style height=0
- How to pull wordpress posts from one blog to an external blog?
- Am I allowed to resell WordPress Premium Plugins under GPL? [closed]
- How is this sliding/scrolling navigation made?
- Template selector for woocommerce product
- How to access values from your own settings page in javascript?
- How can I view forums from different sites in a single panel? [duplicate]
- ImageMagick on wordpress 6.5.5 for Linux Alma 8 success but which no magick