Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
enable vimeo js api in wordpress oembed
<?php
wp_oembed_add_provider('#http://(www\.)?vimeo\.com/.*#i', 'http://www.vimeo.com/api/oembed.{format}?api=1', true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment