https://comunicacionabierta.net/2022/04/disable-wordpress-image-sizes-how-to-code-for-functions-php/
Disable WordPress Image Sizes - How-to - Code for functions.php