Extend the email hooks
Extend the email hooks

Extend the "EMAILS_SWITCH_LANGUAGE_ACTION" and "EMAILS_AFTER_SWITCH_LANGUAGE_ACTION" hooks by passing the language that we switch to as an argument. This gives external plugins more possibilities to hook into the process and e.g. reload their translations.
hyyan/woo-poly-integration,hyyan/woo-poly-integration,hyyan/woo-poly-integration