Skip to content

Instantly share code, notes, and snippets.

@tomhemsley
Created December 10, 2015 19:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomhemsley/df6deaad7ecc4fcdc37f to your computer and use it in GitHub Desktop.
Save tomhemsley/df6deaad7ecc4fcdc37f to your computer and use it in GitHub Desktop.
Vimeo Loop and HTTPS
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