403Webshell
Server IP : 35.236.43.222  /  Your IP : 216.73.216.143
Web Server : Apache
System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64
User : deploy ( 1002)
PHP Version : 8.1.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/ravel.network/public/wp-content/plugins/independent-analytics/IAWP/AJAX/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/ravel.network/public/wp-content/plugins/independent-analytics/IAWP/AJAX/Dismiss_Notice.php
<?php

namespace IAWP\AJAX;

use IAWP\Capability_Manager;
/** @internal */
class Dismiss_Notice extends \IAWP\AJAX\AJAX
{
    protected function action_name() : string
    {
        return 'iawp_dismiss_notice';
    }
    protected function action_callback() : void
    {
        if (!Capability_Manager::can_edit()) {
            return;
        }
        $id = $this->get_field('id');
        if ($id == 'iawp_need_clear_cache') {
            \update_option('iawp_need_clear_cache', \false, \true);
        } elseif ($id == 'iawp_show_gsg') {
            \update_option('iawp_show_gsg', '0', \true);
        } elseif ($id == 'iawp_clicks_sync_notice') {
            \update_option('iawp_clicks_sync_notice', \true, \true);
        } elseif ($id == 'enable-logged-in-tracking') {
            \update_option('iawp_logged_in_tracking_notice', \true, \true);
        }
        return;
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit