PHP
wpml_restore_language_from_email
Description
These switches nest. Since WPML 5.0, each call closes the last wpml_switch_language_for_email scope that is still open, and not the first one. Call this action once for every switch. A restore with no open switch does nothing.