Created
September 19, 2014 05:26
-
-
Save steppohub/8aabb90b1a07d62665ad to your computer and use it in GitHub Desktop.
Embed size - change default
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
// change default auto embed size | |
add_filter('embed_defaults','aa99_embed_defaults'); | |
function aa99_embed_defaults($defaults) { | |
$defaults['width']=416; | |
return $defaults; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment