This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
dagens-formand/wordpress/wp-content/plugins/jetpack/modules/tiled-gallery.php
T

28 lines
801 B
PHP

<?php
/**
* Module Name: Tiled Galleries
* Module Description: Create elegant magazine-style mosaic layouts for your photos without using an external graphic editor.
* First Introduced: 2.1
* Requires Connection: Yes
* Auto Activate: No
* Module Tags: Photos and Videos
*/
function jetpack_load_tiled_gallery() {
include dirname( __FILE__ ) . "/tiled-gallery/tiled-gallery.php";
}
add_action( 'jetpack_modules_loaded', 'jetpack_tiled_gallery_loaded' );
function jetpack_tiled_gallery_loaded() {
Jetpack::enable_module_configurable( __FILE__ );
Jetpack::module_configuration_load( __FILE__, 'jetpack_tiled_gallery_configuration_load' );
}
function jetpack_tiled_gallery_configuration_load() {
wp_safe_redirect( admin_url( 'options-media.php' ) );
exit;
}
jetpack_load_tiled_gallery();