PluginProbe
BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS & JavaScript / 4.0.30
BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS & JavaScript v4.0.30
4.1.16 4.1.15 4.1.14 4.1.13 4.1.12 4.1.11 4.1.10 4.0.30 4.0.29 4.0.28 4.0.27 4.0.26 4.0.24 4.0.25 4.0.23 4.0.22 4.0.21 4.0.19 4.0.18 4.0.17 4.0.16 1.9.3 1.9.4 1.9.5 1.9.6 All 170 releases
searchpro / inc / thirdparty / plugin / EWWW.php

EWWW.php in BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS & JavaScript 4.0.30, at inc/thirdparty/plugin/EWWW.php

30 lines 907 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if (!defined('ABSPATH')) exit;
4
5 use BerqWP\BerqWP;
6
7 class berqEWWWW extends berqIntegrations {
8
9 function __construct() {
10 add_action( 'berqwp_notices', [$this, 'add_notice'] );
11 }
12
13 function add_notice() {
14
15 if (class_exists('EWWW_Image') && get_option( 'ewww_image_optimizer_lazy_load' ) && get_option( 'berqwp_image_lazyloading' )) {
16 bwp_notice('error', 'Disable Image Lazy Loading in EWWW Settings', "<p>To ensure compatibility, please disable the \"Image Lazy Load\" feature in the EWWW settings. This helps prevent conflicts with optimization features.</p>", [
17 [
18 'href' => esc_attr(get_admin_url( ).'options-general.php?page=ewww-image-optimizer-options'),
19 'text' => 'Go to EWWW Settings',
20 'classes' => '',
21 ]
22 ]);
23 }
24
25 }
26
27
28 }
29
30 new berqEWWWW();