When a user adds media to the WYSIWYG, is there a way to set the default image size to large?
It defaults to medium, I'd like this to be "large" without the user having to change the value.
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Sign up to join this communityIf you add this to functions.php, this will update the options as set.
function custom_image_size() {
// Set default values for the upload media box
update_option('image_default_align', 'center' );
update_option('image_default_size', 'large' );
}
add_action('after_setup_theme', 'custom_image_size');
You can update the options as you need.