Every string goes through translate()
, which uses the gettext
filter. This mean you can try something like this:
add_filter( 'gettext', 'wpse6096_gettext', 10, 2 );
function wpse6096_gettext( $translation, $original )
{
if ( 'Nickname' == $original ) {
return 'Funny name';
}
if ( 'Biographical Info' == $original ) {
return 'Resume';
}
return $translation;
}
It’s probably even more efficient if you only call the add_filter
when you are on the user-edit.php
page (see the admin_head-user-edit.php
hook or something like that).
Related Posts:
- How to manually activate user in dashboard only by admin
- Create dropdown of users in admin dashboard
- Add Link to Users List (Backend) to open each users front-end profile
- Adding fields to the “Add New User” screen in the dashboard
- How to check if a user exists by a given id
- Use author author display name in permalink structure for pages and posts
- Get a list of all available fields in the User Profile
- Logout redirect to current page – function
- How to paginate the get_users function?
- How to display random users with avatars
- How do I create a new WP admin color scheme?
- Add new user : make the fields First Name and Last name required
- wp_delete_user with username
- Order get_users() by last login date. Is it possible?
- How can I tell when a user is logged in?
- how to get and display logged in user’s recently read posts
- Displaying a random user with a shortcode
- How to update BuddyPress xprofile fields programmatically? [closed]
- How to detect first visit of a user?
- I changed “Howdy” in the admin bar in the dashboard, but when I’m viewing the site it still says Howdy!
- Can I pass two roles to the function get_users?
- How can I add an image field to BuddyPress Extended Profile Fields? [closed]
- password protected post policy
- Display WooCommerce subscriptions for user [closed]
- Remove the deleted users avatar from list
- Get Current User info using wp_localize_script, in functions.php
- How to add custom fields to my custom registration form
- Adding widget to dashboard with wp_dashboard_setup not working
- create shortcode to list users with specific meta key value
- Don’t delete a page if it holds users
- How to make custom column Admin>Users sortable?
- Execute a ultimate member action when user role is updated
- Filter out other users comments. Visualize only own comments and editor role users’ comments
- Force to use STRONG users password and implement rule to prevent REUSE [closed]
- Change label for registration Fields
- Dashboard widget custom positioning?
- Condition OR for current user ID
- WordPress function only executes once
- How to Use Global Variables Inside Header and Footer
- Sortable column (by numbers) in admin users
- Secondary Menu and Logged In Users
- Why get_user_by() doesn’t work in my code?
- Filter to wp_list_authors
- How to remove some item from WordPress Dashboard for user Author
- How to add array [closed]
- Suggest Users basing on User taxonomy
- Showing user profile data on front-end
- Modify function to only return values for the user that’s logged in
- loginout function customization
- User meta and public function security
- call wp_insert_user in custom class doesnt work
- Get users with different roles and call function on each of them (user_meta)
- Show errormessages on wrong username/password on custom loginform?
- How can I show different content for different user-levels?
- hook for dashboard show_user_profile
- Custom user role still showing up after deletion, ideas?
- referencing the current user in a page i created in wordpress
- Show metadata in users.php – wordpress
- How to display my comment count in the wordpress admin bar?
- Deleting guests profile users after 1.5 hours
- wp_get_current_user return ID = 0 when used outside of wordpress, such as webhook / fulfillment dialogflow
- Allow user only create specific tags
- Add Change role button for list of user in an event
- get_current_user_id() always return 0 in if else statement
- Show users last read posts for each user?
- How to add number to wordpress count function?
- get USER ID in functions.php using user_register action
- Remove theme, change theme button and WP version on “Right Now” admin dashboard?
- Code in functions.php appearing on front-end and dashboard [closed]
- Whats the proper way to add a new user via a front end form?
- sort by date in users
- register_post_type for Pages?
- Paged Single Post doesn’t redirect to the main url after Removing Pagination
- Problem with tag
- How do I redirect upon login a specific user based on role?
- Shortcode to insert menu in page body?
- change billing and shipping address 1 and 2 field placeholders [closed]
- Search user metadata with checkboxes via ajax (almost working)
- Add function to Simple Twitter Connect to not Tweet pages
- How to use wp_trash_post (or wp_delete_post) for deleting a (or all) post(s) from custom post type?
- Dumping variable in custom pre_gets_post function in functions.php, returns NULL
- How to load parent theme template parts in child theme
- allow only one post in specific category
- ACF not showing
- Cannot modify header information – headers already sent (wp_redirect in functions.php)
- Javascript function not working when placed in Text Block
- How to remove comment count column in Posts inside the admin dashboard?
- Cannot declare function twice [closed]
- Function not working inside of a function in functions.php
- Redirect website domain (including all pages) to external URL after Popup message (few seconds)
- Check from functions.php if function exists in footer.php
- Email Exists ERROR into Ajax registration form
- Facebook OpenGraph error, Call to undefined function wp_get_attachment_src()
- custom error message for empty username and password using authenticate filter not working
- Display current user metadata on WordPress page
- Remove all video attachment, both files and post/postmeta from database?
- Dynamically generated Navigation Diagram using Custom Fields
- Full size image option removing problem
- Force resize for all video content
- Need to use an external variable inside a function