Created
March 27, 2013 19:54
-
-
Save BFTrick/5257479 to your computer and use it in GitHub Desktop.
Add a filter to the
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
<?php | |
// add filters for oEmbed | |
global $wp_embed; | |
add_filter( 'my_media_filter', array( $wp_embed, 'autoembed' ), 8 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment