Created
March 3, 2026 14:04
-
-
Save Crocoblock/c4fcfaccbb27d925d67870bfb80fc17d to your computer and use it in GitHub Desktop.
JetEngine / enable autoplay for dynamic field image slider callback
This file contains hidden or 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
| <?php | |
| add_filter( 'jet-engine/gallery/slider/atts', function( $args ) { | |
| $args['autoplay'] = true; | |
| $args['autoplay_speed'] = 1000; | |
| return $args; | |
| } ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment