get_user_by
is the replacement for get_user_by_email
:
$user = get_user_by( 'email', '[email protected]' );
Related Posts:
- How long does a deprecated function live in core?
- Adding a second email address to a completed order in WooCommerce [closed]
- Check if post is being published for the first time, or is an already published post being updated
- Warning/Notice about functions.php
- Use ‘add_theme_support’ instead of ‘add_custom_image_header’ In WordPress 3.4
- Get user id from email?
- Using email_exists() wp function in an ajax request
- How do I call wp_mail from HTML?
- Trouble using antispambot()
- Contact Form 7 – Delay auto responds
- wp-comment author- url +, email filter hook
- Pass parameter to hooked function using custom page template
- How to change this simple code so that it sends the email notification after payment in WooCommerce?
- wp_create_category deprecated?
- WordPress 6.0 upgrade caused my custom function to stop working
- Paragraph spaces in email template function
- Problem with email function
- What add_action reference should I be using or should I use do_action?
- Mail function not working with user accounts
- Welcome Mails based on user role
- Do something when user creates post (that’s pending)
- How to hook wp_mail to add a custom email as BCC for each sent email?
- plugins_url vs plugin_dir_url
- Get list of years when posts have been published
- Where and how to put inline js in pages
- Is it possible to remove the “standard” post format?
- Do WordPress’ cron’s clean up expired transients?
- How to add first name & last name to default registration form?
- Masking logout URL
- How can I programmatically create “child” pages on theme activation?
- Is checking whether the blog is installed necessary?
- Replace Archive Widget Link Text
- How do I deactivate a plugin for some roles
- How to display more audio file ID3 tags in WordPress
- Searching for content post
- Running CRON on Server with WP Function
- Using separate .php file for functions – how to run on site?
- How to add custom fields to my custom registration form
- Add Featured image column into wordpress admin on pages AND posts
- How can I change the do_action function in footer (copyright area)
- How to display post content instead of excerpt
- Access Plugin data from Functions.php
- Having a Function Inside of the Loop
- how to call a function only in specific pages and exclude it from other pages
- Which action does wp_update_user triggers?
- Use register_setting() in a loop
- Dynamic dropdown from database table
- Add dynamic links in WordPress custom theme
- WordPress website Rs changed to currency symbol
- Functions in custom theme
- Attempt to change jQuery version caused White Screen of Death
- check if author has published posts in custom post type, then send mail
- media resize/crop possibilities?
- paginate_links() don’t properly work in search.php?
- Difference b/w Simple function call & do_action call
- What’s wrong with my use of plugin_url()?
- Hook into a function without a hook?
- I have problems with loading javascripts
- Enqueuing latest version of jQuery into a child theme returns a blank screen
- Function to alphabetically sort custom post types creating duplicates
- Dropline menus — seperators between children only?
- Echoing function into WordPress NextGen gallery
- get_post_meta() problem again
- Update users custom profile fields
- does wp function the_content(); accept another tag inside
- How to parse a shortcode within a shortcode?
- Variables not showing in short code
- Prevent loading of functions
- WP Customizer API loaded into functions.php
- Get term slug by term id and then explode it
- Shortcode question
- call_user_func_array() expects parameter 1 to be a valid callback, function
- the_widget() inside functions.php
- loginout function customization
- define css class in functions.php
- Adding tables to the WordPress Editor
- Add Login and logout buttons to top menu bar
- Dashboard blocker on network multisite for specific user roles
- implementing a centralized content “show-do-not-show” toggle?
- Load templates, pass arguments, and render output from functions.php
- How to load a css file depending on the current role
- How to add HTML into error message
- Add a word after the post url if it is within a specific category
- Probleme shortcode with list author
- Security when outputing wp_oembed_get code
- Function for Sticky Post on Categories causes issues with 404 behavior
- Unable to declare AOS library in functions
- Get value of pre-populated Gravity forms field as variable in my function
- Will dequeueing in child theme functions.php file prevent Google Fonts from loading?
- Graphic before title – Specific Category
- Edit meta fields from within template
- What to do to have access to WordPress functions
- Adding a meta box fields to child theme options page
- Changing the color of post title [closed]
- How to programmatically GET (to know) which Sidebar (or) which Menu is being used on Different Pages?
- WordPress not performing direct update
- Remove theme, change theme button and WP version on “Right Now” admin dashboard?
- Making an under maintenance page (without using plugins)
- Setcookie not setting cookies anywhere except admin
- WooCommerce, change “Add to Cart” to “Link to Product”, only for specific categories