Plugin Directory

Changeset 3097269


Ignore:
Timestamp:
06/04/2024 09:45:40 AM (21 months ago)
Author:
cloudfilt
Message:

Internal cache management.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cloudfilt-codes/trunk/cloudFiltCodes.php

    r3072480 r3097269  
    55    Plugin URI: https://cloudfilt.com/
    66    Description: Prevent & block bad bots. This plugin inserts in your website the necessary codes for your web security https://cloudfilt.com/. Bot traffic, Spam Submissions, Tor traffic, Web Scraping, Web Fraud, Business logic, Vulnerability scanning, DDoS...
    7     Version: 1.0.14
     7    Version: 1.0.15
    88    Author: CloudFilt   
    99    Author URI: https://cloudfilt.com/
     
    4343        add_action('admin_init', [$this, 'initForm']);
    4444        add_action('admin_menu', [$this, 'createTabs']);
     45        add_action('init', [$this, 'disable_cache']);
    4546
    4647        $this->addCodes();
     48    }
     49
     50    public function disable_cache() {
     51        define('DONOTCACHEPAGE', true);
     52        define('DONOTCACHEOBJECT', true);
     53        define('DONOTCACHEDB', true);
    4754    }
    4855
Note: See TracChangeset for help on using the changeset viewer.