Title: How to stop automatic scanner
Last modified: January 17, 2022

---

# How to stop automatic scanner

 *  Resolved [saxcbr](https://wordpress.org/support/users/saxcbr/)
 * (@saxcbr)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/how-to-stop-automatic-scanner/)
 * My admin crash when I activate your plugin for automatic scanner active (too 
   big site I think).
    How can I disable it on database/function.php as I can’t 
   go on configuration pages with active plugin?
 * Thank you

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/how-to-stop-automatic-scanner/#post-15261356)
 * To stop the scan, you can add:
 * `define( 'CMPLZ_DO_NOT_SCAN', true );`
 * Or even better, limit the scan to for example pages only:
 *     ```
       add('cmplz_cookiescan_post_types','cmplz_pages_only' );
       function cmplz_pages_only($post_types){
          unset($post_types['post'];
          return $post_types;
       }
       ```
   
 * Let me know if that helps!
 *  Thread Starter [saxcbr](https://wordpress.org/support/users/saxcbr/)
 * (@saxcbr)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/how-to-stop-automatic-scanner/#post-15263252)
 * `define( 'CMPLZ_DO_NOT_SCAN', true );`
    this define works, but filters don’t,
   even if I try to change your code this way
 *     ```
       add_filter('cmplz_cookiescan_post_types','cmplz_pages_only' );
       function cmplz_pages_only($post_types){
          unset($post_types['post']);
          return $post_types;
       }
       ```
   
 * it seems to be totally ignored, maybe the list of pages to be scanned is stored
   somewhere?
 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/how-to-stop-automatic-scanner/#post-15263484)
 * [@saxcbr](https://wordpress.org/support/users/saxcbr/) you’re right, the list
   is cached for a month, you can delete the transient like this:
 * `delete_transient( 'cmplz_pages_list' );`

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘How to stop automatic scanner’ is closed to new replies.

 * ![](https://ps.w.org/complianz-gdpr/assets/icon-256x256.png?rev=2881064)
 * [Complianz - GDPR/CCPA Cookie Consent](https://wordpress.org/plugins/complianz-gdpr/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/complianz-gdpr/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/complianz-gdpr/)
 * [Active Topics](https://wordpress.org/support/plugin/complianz-gdpr/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/complianz-gdpr/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/complianz-gdpr/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/how-to-stop-automatic-scanner/#post-15263484)
 * Status: resolved