PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 13.5
Jetpack – WP Security, Backup, Speed, & Growth v13.5
16.2-beta 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 All 501 releases
jetpack / modules / tiled-gallery.php
tiled-gallery.php
44 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 * Module Name: Tiled Galleries
4 * Module Description: Display image galleries in a variety of elegant arrangements.
5 * First Introduced: 2.1
6 * Requires Connection: No
7 * Auto Activate: No
8 * Module Tags: Photos and Videos
9 * Feature: Appearance
10 * Sort Order: 24
11 * Additional Search Queries: gallery, tiles, tiled, grid, mosaic, images
12 *
13 * @package jetpack
14 */
15
16 /**
17 * Include the tiled gallery for loading.
18 */
19 function jetpack_load_tiled_gallery() {
20 include __DIR__ . '/tiled-gallery/tiled-gallery.php';
21 }
22
23 add_action( 'jetpack_modules_loaded', 'jetpack_tiled_gallery_loaded' );
24
25 /**
26 * Enable the tiled gallery module.
27 */
28 function jetpack_tiled_gallery_loaded() {
29 Jetpack::enable_module_configurable( __FILE__ );
30 add_filter( 'jetpack_module_configuration_url_tiled-gallery', 'jetpack_tiled_gallery_configuration_url' );
31 }
32
33 /**
34 * Overrides default configuration url
35 *
36 * @uses admin_url
37 * @return string module settings URL
38 */
39 function jetpack_tiled_gallery_configuration_url() {
40 return admin_url( 'options-media.php' );
41 }
42
43 jetpack_load_tiled_gallery();
44