How to disable WordPress from creating thumbnails?
To built on Max Yudin’s answer you should use the
intermediate_image_sizes_advanced filter, and not
image_size_names_choose. Add to functions.php
add_filter('intermediate_image_sizes_advanced', 'add_image_insert_override' );
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.