Snippets: Lightbox Auto Slideshow

add_filter( 'wpex_ilightbox_settings', function( $settings ) {
	$settings['controls']['slideshow']    = true;
	$settings['slideshow']['startPaused'] = false;
	$settings['slideshow']['pauseTime']   = intval( 4000 ); // 4 second rest between slides
	return $settings;
} );

Snippet Type: PHP

Posted Under: Lightbox

All PHP snippets should be added via a child theme's functions.php file.