mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- made external integrations class;
This commit is contained in:
@@ -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() );
|
||||
|
||||
Reference in New Issue
Block a user