# searchpro/4.0.29/inc/thirdparty/plugin/WPAllImport.php

BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS &amp; JavaScript, version 4.0.29. 19 lines.

- Page: https://pluginprobe.com/plugins/searchpro/4.0.29/code/inc/thirdparty/plugin/WPAllImport.php
- Raw: https://pluginprobe.com/plugins/searchpro/4.0.29/raw/inc/thirdparty/plugin/WPAllImport.php
- Modified: 2025-06-08T12:06:34+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/searchpro/4.0.29/code/inc/thirdparty/plugin/WPAllImport.php#L10-L20`.

```php
<?php

if (!defined('ABSPATH')) exit;

class berqWpAllImport extends berqIntegrations {
    function __construct() {
        add_action( 'pmxi_before_post_import', [$this, 'disable_flush_cache'], 10, 1 );
    }

    function disable_flush_cache($post_id) {

        add_filter( 'berqwp_can_flush_cache_on_post_update', '__return_false' );
        add_filter( 'berqwp_can_flush_home_cache_on_post_update', '__return_false' );

    }

}

new berqWpAllImport();
```
