Uname:Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64

Base Dir : /home/nobi37te/public_html

User : nobi37te


403WebShell
403Webshell
Server IP : 172.67.134.116  /  Your IP : 216.73.217.22
Web Server : Apache
System : Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User : nobi37te ( 1003)
PHP Version : 8.2.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/nobi37te/www/wp-content/plugins/nitropack/view/javascript/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/nobi37te/www/wp-content/plugins/nitropack/view/javascript/elementor_cache_integration.js
/**
 * NitroPack Integration for Elementor Tools Clear Cache
 *
 * Attaches to Elementor's "Clear Files & Data" button on the Tools page
 * and triggers NitroPack cache clearing silently in the background.
 */
jQuery(document).ready(function($) {
    // Find Elementor's Clear Cache button
    const $clearCacheButton = $('#elementor_clear_cache');

    // Exit if button not found (not on Elementor Tools page)
    if (!$clearCacheButton.length) {
        return;
    }

    // Attach click handler
    $clearCacheButton.on('click', function() {
        // Trigger NitroPack cache clearing via AJAX
        $.ajax({
            url: nitropack_elementor.ajax_url,
            type: 'POST',
            data: {
                action: 'nitropack_elementor_clear_cache',
                nonce: nitropack_elementor.nonce
            },
            dataType: 'json',
            success: function(response) {
                // Silent success - only log to console
                if (response.success) {
                    console.log('[NitroPack] Cache cleared successfully from Elementor Tools');
                } else {
                    console.error('[NitroPack] Cache clearing failed:', response.data.message);
                }
            },
            error: function(xhr, status, error) {
                // Silent error - only log to console
                console.error('[NitroPack] AJAX error clearing cache:', error);
            }
        });
    });
});

Youez - 2016 - github.com/yon3zu
LinuXploit