This problem looks a bit too complicated and localized to come up with a definitive answer, but it looks like an execution order issue. Here are some suggestions what you could check:
- You are using a variable in your translation function. Do not do this.
- I’m not sure where that Woocommerce-action is executed, but it might be executed before WP gets to the
load_textdomainhook. Not very likely, but not impossible either if it tries to send the mail immediately after the plugin is loaded. - Your
add_actionuses the default priority. Higher or lower might help. - Check the global
$wp_filtervariable to see of some plugin is messing with the locales.
Related Posts:
- Change Dashboard URL from wp-admin to wp-admin/index.php
- Can’t set proper WooCommerce language translation [closed]
- WordPress admin notice in plugin function
- Over write plugin templates
- Woocommerce Shipping module available only for type of products [closed]
- How to prevent action in ajax request, when in admin side?
- ‘wp_login’ action hook not working with wp-login.php file
- Change the backend language of a single plugin
- How to stop activating a plugin and show admin notice when dependent plugins minimum version is not met
- woocommerce_package_rates not fired when wordpress woocommerce accessed as non ajax
- Filtering WooCommerce Orders by Category
- Add sub menu page in your plugin
- Display Plugin Panels Outside of Admin Areas
- Add item to the woocommerce dashboard menu from a plugin
- WooCommerce: after install hook
- Translations not appended even strings are edited
- add a hook of Woocommerce to a plugin but it only shows and doesn’t function properly
- ACF Fields are not showing up on Homepage
- Securing langugae folder
- Display Woocommerce attribute name above product title
- {status}_{post_type} does not run correctly?
- Order shipped by which driver[hook for woocoomerce order staus changed and popup in admin panel ] [closed]
- plugin translations not reflected in admin dashboard
- Admin Notice is only localized when displaying the “Plugins” Backend Page
- Changing the “Plugin Activated” Message Default
- Can we hook a static method of a class to add_action inside that class?
- Is there any record of installed plugins in the database?
- Filter out results from REST API
- How can I remove a hooked action created by a plugin?
- disable active plugins for specific theme
- Twillio How To Send SMS for Custom Post Type
- Custom values are not translated
- Find out if request is for custom post type archive before query runs
- WooCommerce Dynamic Cart Pricing
- How Restrict access to admin dashboard by specific static ip?
- Add multiple attributes to product from php
- Making menu link open in new tab?
- Making my plugin translation ready. Poedit not working
- How to initialize something in unit test before the init hook being called?
- Only Homepage not loading properly
- woocommerce 3.2.1 not sending order notification emails
- WordPress on AWS with ELB
- Two text domains in one plugin
- Edit default comments page in WP Admin
- WordPress automatically removes line break
- Add woocommerce variation images in gallery?
- Fetch Children of Grouped Products Inside WooCommerce Product Loop
- Are functions in main plugin file called before function bound to register_activation_hook runs?
- how to do login using woocommerce rest api From android
- password_reset hook is not working
- Network activating; if ( !current_user_can( ‘manage_options’ ) ) locks me out…
- What exactly happens to function argument availability when using a filter?
- Combining several CSS files into one for optimization
- How to get a list of bundled products using wp_query in woocommerce
- Create a post builder skin in a plugin
- How to remove js ui library added by default by wordpress
- How to get the particular product quantity in orders in Woocommerce [closed]
- How to use the pre_option filter before a plugin loads?
- profile_update hook doesn’t works inside a class
- Sell access to form [closed]
- Redirect Plugins.php to New Plugin Page
- What hook can I use to modify custom post data before it is displayed on the page?
- Automatic recurring payment using YITH subscription and Dokan Stripe
- apply_filters(woocommerce_get_item_data, …) Causing errors when adding to cart
- Why does “updated_post_meta” did not fire when uploading media other than image?
- How To Use do_shortcode with WooCommerce One Page Checkout
- Hide fields in woocommerce settings
- How can we get this dynamically as this folder may not be by the same name always → wp-admin
- woocommerce: Customize email with item total count
- Callback hooked to post_updated firing on new posts as well
- show wc_add notices on particular page in woo commerce custom plugin development
- best way to handle subscriptions with a licence?
- woocommerce with external ftp site
- Add WooCommerce vendor slug to auto-generated SKU
- how to make settings page for woocommerce plugin?
- Admin login substantially slower on production server
- redirect to a custom page
- change product image url in widgets & shop page
- woocommerce blank page after clicking add to cart [closed]
- The Commercial tab is missing from the Plugins page when trying to update Types 1.7
- change output location of plugin function using a custom hook
- Plugin constructor called multiple times
- How to change value of $menu_class in ep_nav_menu?
- Woocommerce Bookings – Resource needs to be allocated for part of the booking duration, not the whole booking
- Apostrophes replaced by '
- Woocommerce – Product Description heading [closed]
- Visual Composer Data Source?
- Woocommerce disable checkout on specific day
- Woocommerce where to set the Price Suffix [closed]
- Is there a method or plugin to download my products in WooCommerce?
- How to add a static image inbetween the product tiles on main shoppage woocommerce?
- wp_options Table keeps growing
- The Admin page isn’t showing in the sidebar of the dashboard
- Why is my activator class adding the files/running the actions I add?
- Can we install 3d product configurator into wordpress
- Change Custom WordPress Function [closed]
- Stop the user if login from the cookies
- WordPress Shipment
- WooCommerce booking error: call_user_func_array() expects parameter 1 to be a valid callback
- Woocommerce attatch files and custom input meta to cart items and then to order