- made external integrations class;

This commit is contained in:
nikitozzzzzzz
2017-12-19 14:44:06 +02:00
parent 45498f16dc
commit f861de65a8
7 changed files with 157 additions and 73 deletions
+1 -1
View File
@@ -331,7 +331,7 @@ if ( ! class_exists( 'Mail' ) ) {
* @return string
*/
function um_email_send_subject( $subject, $template ){
if( um_is_wpml_active() ){
if ( UM()->external_integrations()->is_wpml_active() ) {
global $sitepress;
$default_language_code = $sitepress->get_locale_from_language_code( $sitepress->get_default_language() );