do_action( 'wpml_switch_language_for_email', $email_address )
Switch language for email
Allows WPML to switch current language to one preferred by email recipient. WPML checks language set in user preferences and applies it for email string localisation. It runs before any email string is obtained and localised.
Parameters:
Name | Type | Description |
---|---|---|
$email_address |
string | Recipient's email address |
- Since:
- 1.9.7
- Source: