PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 9.1.2
Jetpack – WP Security, Backup, Speed, & Growth v9.1.2
12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 14.1.1 14.2.2 14.3.1 14.4.2 All 500 releases
jetpack / modules / lazy-images.php
lazy-images.php
35 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Module Name: Lazy Images
5 * Module Description: Speed up your site and create a smoother viewing experience by loading images as visitors scroll down the screen, instead of all at once.
6 * Sort Order: 24
7 * Recommendation Order: 14
8 * First Introduced: 5.6.0
9 * Requires Connection: No
10 * Auto Activate: No
11 * Module Tags: Appearance, Recommended
12 * Feature: Appearance
13 * Additional Search Queries: mobile, theme, fast images, fast image, image, lazy, lazy load, lazyload, images, lazy images, thumbnail, image lazy load, lazy loading, load, loading
14 */
15
16 /**
17 *
18 * @since 8.8
19 *
20 * The core of this module has been migrated to an standalone reusable package.
21 */
22
23 /*
24 * Initialize lazy images on the wp action so that conditional
25 * tags are safe to use.
26 *
27 * As an example, this is important if a theme wants to disable lazy images except
28 * on single posts, pages, or attachments by short-circuiting lazy images when
29 * is_singular() returns false.
30 *
31 * See: https://github.com/Automattic/jetpack/issues/8888
32 */
33
34 add_action( 'wp', array( 'Automattic\\Jetpack\\Jetpack_Lazy_Images', 'instance' ) );
35