Try putting this in your functions.php
function wpse60605_change_username_label( $defaults ){
$defaults['label_username'] = __( 'Username or Email' );
return $defaults;
}
add_filter( 'login_form_defaults', 'wpse60605_change_username_label' );
Related Posts:
- What’s the difference between get_home_path() and ABSPATH?
- Modifying WordPress core files
- Why do some core functions get wp_ while others do not? What’s the rule?
- $GLOBALS array for WordPress
- What are custom_css and customize_changeset used for?
- IP address whitelist to update WordPress core and plugins
- What are some reasons why you should not hack WordPress core files?
- How To/What triggers a WordPress auto update?
- Rewriting a core function?
- What is the purpose of this line of code in wp_trim_excerpt? [closed]
- What CSS minifier does WP core use?
- What’s $GLOBALS[‘wp_settings’][‘media’][’embeds’]?
- How do I set a custom WordPress update repository?
- WordPress classes explained
- No longer able to attach S3 bucket files to emails being sent by WordPress due to PHPMailer security update
- What problems maybe happen if I remove “wp-” prefix from wordpress folders and files?
- WP Core: Where are terms populated for the admin edit screen?
- What is the WP_Internal_Pointers core class?
- How to contribute to WordPress Core using Tortoise SVN?
- Create a patch using TortoiseSVN
- Loading WP core Thickbox through frontend
- Isn’t requiring a file before it’s loaded by WordPress itself a symptom of bad code? [closed]
- How to find out where the data.model is?
- Why WordPress Core Functions Not Using function_exists()?
- how does the rendering works?
- When is the wp-mail.php in the WP root requested?
- Is the information returned by get_bloginfo( ‘version’ ) always the same as the one in version.php?
- How to add a forward slash to the end of wordpress home?
- Using native wp image support instead of timthumb
- Should /wp-includes/js/* folder be blocked in robots.txt file for a WordPress website?
- Can mediaelement-and-play core JS be dequeued?
- WordPress auto update for core but use local package
- WordPress 4.8 – Can’t find variable: wp
- What is responsible for triggering “robots-template.php” file or “wp_robots_noindex()” core function out of it?
- Add image or video tags to WP Sitemap
- Where can I find the definitive list of core blocks in html form
- When do we use wp_slash?
- WP_Site_Query vs. WP_Network_Query in WordPress 4.6
- Slow wp_term_relationships query
- Find out if there is a available core update?
- Conditional tag is_page with a custom post type
- explanation for activate_plugin function in wordpress core
- How to translate “ERROR: Invalid username. Lost your password?”
- Register email as username
- How do I display the commentor’s first name and last name in the comments?
- Update user_login to change username
- White spaces in username give 404 on author page
- Disable feeds for specific custom post types
- auto assign sequence base username while registration
- Is this plugin being loaded before file.php, subsequently not allowing me to use certain functions?
- How to start a script from cli within wordpress
- wordpress update will overwrite files changes?
- Is it possible to incorporate username in a login redirect?
- How do I display user name, role and site name using HTML tags inside a dashboard notification?
- How can i change the name order in the admin?
- error: An Unexpected HTTP Error occurred during the API request
- How to retrieve lost username/ email log- in ?
- How can I display nickname instead username in links
- Unique User for all visitor, but possibility to comment with unique name
- WordPress and a secondary database?
- why there is a large file named core in wpmu’s directory?
- PHP Error When a plugin is active
- Safely editing core files
- the_posts_pagination() function returns missing page numbering on some blog pages
- Where can I see all changes for a new WordPress version?
- Storing WordPress Media Library Uploaded files onto a separate domain
- Filter an WordPress Function in (general-template.php)
- Add Username to URL for redirect
- Why There Is No “get content by ID” Function
- How to let the users edit their user names?
- How to show my wordpress admin username & password?
- Admin submenu issue with PHP not detecting two strings as equal
- Is it possible to disable html code error auto fixing feature by wordpress 4.9.1?
- How can I apply custom sanitization to new usernames?
- Where does wordpress gets its core and plugin updates
- How to resize WordPress images on upload to specific height and width without cropping it
- Custom User Registration script only allowing usernames with 16 characters
- A thin line between native wordpress bahaviour and 3rd party themes
- Why does wp_links still exist in the db schema?
- Dismiss Admin Pointer Temporarily
- Why do people use “admin” username by default? [closed]
- Why doesn’t WP recognize images in posts like other content? [closed]
- How to add @ symbol to user url
- Use wp_head hook on template page
- Rebuilding core image block
- Make WordPress User Name be the Company Name when Registering (not the default ‘first name’ last name’ email address’)
- How wordpress core include search.php with $_GET[‘s’]?
- I have restricted the username to numerical format but not able to integrate the same with PeepSo plugin
- What WordPress file is saving new users to database
- Disable author admin just use name.
- How to change value in wp-include/taxonomy.php without exchanging the WordPress-core
- Making Site A Use Site B’s wp-content Folder
- What is the first action or filter executed by wordpress?
- What is the point of new confirm admin email process?
- is_preview() always return false
- PHP Fatal error: Uncaught Error: Cannot unset string offsets when trying to upload any file to media library
- How can I save the selected page in the dropdown after anyone clicks on Save Changes?
- How can I save the selected page in the dropdown after anyone clicks on Save Changes?
- Does wp_safe_redirect() no longer works?
- wp_user_query with meta_value_num for leaderboard