Created
December 5, 2013 20:57
-
-
Save chriskoelle/7813750 to your computer and use it in GitHub Desktop.
Wordpress Change Embed Shortcode Defaults
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
function new_embed_sizes() { | |
return array( 'width' => 640, 'height' => 9999); | |
} | |
add_filter('embed_defaults', 'new_embed_sizes'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment