Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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