Server IP : 172.67.158.161 / Your IP : 18.118.217.124 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/thread-self/root/proc/thread-self/root/home/giankuin/thietke365.net/wp-content/themes/flatsome/inc/admin/customizer/js/ |
Upload File : |
// Customizer Reset jQuery(function ($) { $button = jQuery('#flatsome-customizer-reset'); $button.on('click', function (event) { event.preventDefault(); var data = { wp_customize: 'on', action: 'customizer_reset', nonce: _FlatsomeCustomizerReset.nonce.reset }; var r = confirm(_FlatsomeCustomizerReset.confirm); if (!r) return; $button.attr('disabled', 'disabled'); $.post(ajaxurl, data, function () { wp.customize.state('saved').set(true); location.reload(); }); }); });