From 8726127f2c67f7046903a6989872e8b44ef06ef3 Mon Sep 17 00:00:00 2001 From: selul Date: Mon, 13 Jan 2020 20:06:11 +0200 Subject: [PATCH] feat: adds data-skip-lazy attr for skipping lazyload --- inc/app_replacer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/app_replacer.php b/inc/app_replacer.php index 41e17921..c3156592 100644 --- a/inc/app_replacer.php +++ b/inc/app_replacer.php @@ -130,7 +130,7 @@ public static function possible_lazyload_flags() { return self::$ignore_lazyload_strings; } - self::$possible_src_attributes = apply_filters( 'optml_possible_lazyload_flags', [ 'skip-lazy' ] ); + self::$possible_src_attributes = apply_filters( 'optml_possible_lazyload_flags', [ 'skip-lazy', 'data-skip-lazy' ] ); return array_merge( self::$possible_src_attributes, [ '