Created
June 10, 2019 17:53
-
-
Save giucu91/c8527612c4a608fe8ad9cfe6ec921995 to your computer and use it in GitHub Desktop.
Change hideBarsDelay for Swipebox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'modula_lightboxes_options', 'modula_pro_custom_swipebox_options' ); | |
function modula_pro_custom_swipebox_options( $ligtboxes_options ){ | |
if ( isset( $ligtboxes_options['lightboxes']['swipebox'] ) && isset( $ligtboxes_options['lightboxes']['swipebox']['options'] ) ) { | |
$ligtboxes_options['lightboxes']['swipebox']['options']['hideBarsDelay'] = 1000; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment