HEX
Server: Apache
System: Linux utech.securedservers.info 4.18.0-553.109.1.el8_10.x86_64 #1 SMP Mon Mar 2 09:33:18 EST 2026 x86_64
User: autoaccidentes (1023)
PHP: 8.3.23
Disabled: NONE
Upload Files
File: /home/autoaccidentes/public_html/wp-content/plugins/ninja-forms/assets/js/lib/feature-scripts.js
/**
 * cacheMode should be 1 or 0
 * 
 * @param {int} cacheMode 
 */
function ninja_forms_update_cache_mode( cacheMode ) {
    var data = {
        'action': 'nf_update_cache_mode',
        'security': nfAdmin.ajaxNonce,
        'cache_mode': cacheMode
    };
    
    // since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
    jQuery.post(ajaxurl, data, function(response) {
        var data = JSON.parse(response);
        console.log(data);
    });
}