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 WPCode)