Action: wpml_restore_language_from_email

do_action( 'wpml_restore_language_from_email' )

Restore language after sending email

Allows WPML to switch language to the last one before switching with action 'wpml_switch_language_for_email'. It runs just after wp_mail() call.

Since:
  • 1.9.7
Source: