Skip to content

Instantly share code, notes, and snippets.

@JulioPotier
Created June 18, 2014 09:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JulioPotier/6d24320f3f72aef4834c to your computer and use it in GitHub Desktop.
Save JulioPotier/6d24320f3f72aef4834c to your computer and use it in GitHub Desktop.
add_filter( 'pre_option_image_default_align', '__image_default_align' );
function __image_default_align() {
return 'left';
}
add_filter( 'pre_option_image_default_link_type', '__image_default_link_type' );
function __image_default_link_type() {
return 'none';
}
add_filter( 'pre_option_image_default_size', '__image_default_size' );
function __image_default_size() {
return 'large';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment