Created
April 23, 2015 12:07
-
-
Save hlashbrooke/e9acde469ce5cb3aa762 to your computer and use it in GitHub Desktop.
WordPress: Add oEmbed support for Speaker Deck presentations.
This file contains 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
add_action( 'init', 'add_speakerdeck_oembed' ); | |
function add_speakerdeck_oembed() { | |
wp_oembed_add_provider( 'https://speakerdeck.com/*/*', 'https://speakerdeck.com/oembed.json' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment