| Server IP : 66.29.153.156 / Your IP : 216.73.216.226 Web Server : LiteSpeed System : Linux premium322.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64 User : lastyfjz ( 1521) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/lastyfjz/./unicitys.com/wp-content/plugins/loginizer-security/assets/js/ |
Upload File : |
/* https://wordpress.stackexchange.com/questions/342148/list-of-js-events-in-the-woocommerce-frontend/352171#352171 */
jQuery(document).ready(function() {
jQuery(document.body).on('update_checkout updated_checkout applied_coupon_in_checkout removed_coupon_in_checkout', function() {
if(jQuery('#lz-turnstile-div').is(':empty') && turnstile) {
turnstile.remove('#lz-turnstile-div');
turnstile.render('#lz-turnstile-div');
}
if(jQuery('.g-recaptcha').is(':empty') && grecaptcha) {
let container = jQuery('.lz-recaptcha'),
siteKey = container.data('sitekey');
if(siteKey){
grecaptcha.render(container[0], {'sitekey': siteKey});
}
}
});
});