Hot answers tagged

2 votes
Accepted

image_size with respect to aspect ratios

Right before image subsizes are created, there's a filter called intermediate_image_sizes_advanced that lets you modify the list of sizes. Here's code that you could expand on — right now it just ...
2 votes
Accepted

Remove default Image Sizes

To unset all default image sizes in WordPress using PHP you can use this function: add_filter( 'intermediate_image_sizes', 'remove_default_img_sizes', 10, 1); function remove_default_img_sizes( $...
  • 136

Only top scored, non community-wiki answers of a minimum length are eligible