Skip to content

Instantly share code, notes, and snippets.

@chriskoelle
Created December 5, 2013 20:57
Show Gist options
  • Save chriskoelle/7813750 to your computer and use it in GitHub Desktop.
Save chriskoelle/7813750 to your computer and use it in GitHub Desktop.
Wordpress Change Embed Shortcode Defaults
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