Created
December 10, 2015 19:21
-
-
Save tomhemsley/df6deaad7ecc4fcdc37f to your computer and use it in GitHub Desktop.
Vimeo Loop and HTTPS
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
function ms_vimeo_loop_and_https($url, $slider_id, $slide_id) { | |
return "https:" . $url . "&loop=1"; | |
} | |
add_filter('metaslider_vimeo_params', 'ms_vimeo_loop_and_https', 10, 3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment