Correct method of reducing the number of images created by WP and Woo together

I would remove the image sizes that you don’t need. function remove_image_sizes() { remove_image_size(‘image-name’); } add_action(‘init’, ‘remove_image_sizes’, 99); Whilst the number of images is a factor, I’d also look at the image compression as this may be a big help in reducing the disk space required: add_filter(‘jpeg_quality’, function($arg){return 70;}); You will need to re-generate your … Read more

How to make image uploads default to full size?

It doesn’t look like that filter exists in WordPress core. That being said, I have the solution for you. That select uses an option to set the default size: get_option( ‘image_default_size’, ‘medium’ ); So all you have to do is update that option: update_option( ‘image_default_size’, ‘full’ ); For reference: media.php line 1296