WordPress 5.9.1
I have deactivated all the plugins and showed all image sizes via wp_get_registered_image_subsizes().
I can see 1536x1536 and 2048x2048. I can't find where these image sizes were registered. Neither in WordPress itself, nor in the theme. Could you comment on it? Where are they registered?
CodePudding user response:
Worpdress registered them in wp-includes/media.php You can remove them:
remove_image_size('1536x1536');
remove_image_size('2048x2048');