Skip to content

Snippet: Enable Lightbox Infinite Loop

add_filter( 'wpex_ilightbox_settings', function( $settings ) {
	$settings['infinite'] = true;
	return $settings;
} );
All PHP snippets should be added via child theme's functions.php file or via a plugin. We recommend Code Snippets (100% Free) or WPCode (sponsored)
Back To Top