first commit

This commit is contained in:
2023-09-12 21:41:04 +02:00
commit 3361a7f053
13284 changed files with 2116755 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
jQuery(function ($) {
'use strict';
$('.wpml_iframe').on('load', function () {
var userStatus = 'wpml_is_user_signed_out';
if (wpml_sso.is_user_logged_in) {
userStatus = 'wpml_is_user_signed_in';
}
this.contentWindow.postMessage(JSON.stringify({userStatus: userStatus, userId: wpml_sso.current_user_id}), "*");
});
});