first commit

This commit is contained in:
Roman Pyrih
2023-07-24 08:30:51 +02:00
commit c2e100a763
7128 changed files with 1622619 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<?php
class Brizy_Compatibilities_NcEasywp {
public function __construct() {
if ( class_exists( '\WPNCEasyWP\Http\Varnish\VarnishCache' ) ) {
add_action( 'brizy_before_send_asset', [ $this, 'before_send_asset' ] );
}
}
public function before_send_asset() {
do_action('clear_redis');
do_action('clear_varnish');
do_action('clear_opcache');
}
}