Override oembed providers in WordPress

I had a problem where i needed to enable the js api when embedding vimeo in wordpress using oembed. Turns out that you can override the existing providers by adding a line like this in your `functions.php`

WordPress caches oembed results so you might need to resave your content before you see any changes.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>