Created
June 21, 2017 14:04
-
-
Save robertdevore/5a1a230e5bd4eec610461a502be506aa to your computer and use it in GitHub Desktop.
change oembed from the_excerpt to the_content
This file contains hidden or 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_filter( 'the_excerpt_embed', 'get_excerpt_embed' ); | |
function get_excerpt_embed( $output ) { | |
return the_content(); | |
return $output; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment