Change the order of first_name and last_name in WooCommerce depends on user locale.
Author: | Kunoichi INC. (profile at wordpress.org) |
WordPress version required: | 5.0 |
WordPress version tested: | 5.2.11 |
Plugin version: | 0.1.4 |
Added to WordPress repository: | 28-06-2019 |
Last updated: | 28-06-2019
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | https://kunoichiwp.com/product/plugin/kagebun... |
Total downloads: | 915 |
Click to start download |
In some locales, last_name preceded first_name.
- Japanese
ja
- Chinese
zh_*
- Korean
ko
- Mongolian
mn
- Vietnamese
vi
- Hungarian
hu_HU
If current user locale is in the list above, name fields in WooCommerce will be swapped with this plugin.
This plugin does nothing but changing name field’s order. You don’t have to care about side effects.
Currently fixes…
- My Account
- Billing Address & Shipping Address
- Order Email
- Default display name and full name
Customization
You can change locales with filter.
add_filter( 'donden_swappable_lang_list', function( $langs ) { // Add lang th. $langs[] = 'th'; return $langs } );
Screenshots
FAQ
ChangeLog