HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.109.1.lve.el8.x86_64 #1 SMP Thu Mar 5 20:23:46 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/posscale/public_html/WP-POS/wp-content/themes/angle/functions/wpzoom/assets/js/wp-admin.js
/**
 * WordPress wp-admin wide functionality.
 */

/**
 * Framework .update-nag notification close button.
 */
jQuery(document).ready(function($) {
    $('.zoomfw-core.update-nag .close').on('click', function() {
        var ask = confirm(
            'This notification will be hidden for the next 72 hours. ' +
            'You can disable it forever from Theme Options > Framework Options ' +
            'by unchecking "Framework Updater Notification" item.'
        );

        if (!ask) return;

        $(this).parent().remove();

        var data = {
            type: 'framework-notification-hide',
            value: 'framework'
        };

        wp.ajax.post('wpzoom_updater', data);
    });

    $('.zoomfw-theme.update-nag .close').on('click', function() {
        var ask = confirm(
            'This notification will be hidden for the next 72 hours. ' +
            'You can disable it forever from Theme Options > Framework Options ' +
            'by unchecking "Theme Updater Notification" item.'
        );

        if (!ask) return;

        $(this).parent().remove();

        var data = {
            type: 'theme-notification-hide',
            value: 'framework'
        };

        wp.ajax.post('wpzoom_updater', data);
    });

    $('.zoomfw-seo.update-nag .close').on('click', function() {
        var ask = confirm('This notification will be hidden forever.');

        if (!ask) return;

        $(this).parent().remove();

        var data = {
            type: 'seo-notification-hide',
            value: 'seo'
        };

        wp.ajax.post('wpzoom_updater', data);
    });
});