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
- Add custom css to specific user
- WordPress: Highlight search result exact matches
- Custom image sizes showing in Classic Editor only when upladed directly to post
- Trigger email alert if file downloaded
- Completely Disable WordPress RSS Feeds
- Default click “I have read and agree to the website terms and conditions”
- How to use wp_enqueue_script properly?
- How to hide content on mobile in the functions.php file – woocommerce
- Woocommerce Default sorting product by product type
- Displaying registered sidebar after post content
- Hide Author By-Line if After Certain Date
- This code is supposed to only allow user to be authenticated if accountVerified is equal to 1, but it still allows user to be authenticated otherwise
- Get webpack to work on child theme
- Using One Function To Create Two Different Shortcodes
- Custom blog post summary on blog index page
- How to hide WooCommerce product title and short description to non logged in users?
- Create a CUstom Archive by Year, but just for a Single Category
- How to loop while adding data to database?
- Override a Post’s URL with Advanced Custom Fields Function
- Change WooCommerce Payment Options From Radio Buttons to Dropdown Menu
- Is it possible to create a shortcode to link to a specific post/page where the tag is just an attribute?
- Prevent wp_signon redirect on failed login for ajax login
- How to redirect Subscribers on login to specific page, when logging in from a Page
- Fetch URL parameter
- how can I add filter in specfic field in my website?
- Updating custom query var with multiple values
- how can I change all wordpress media file url to custom cdn url?
- WordPress Function Assistance with Loop
- Different image using srcset function