How to delete original image file after upload and resize
Question
When I upload an image named image.jpg
, WordPress creates image-150x150.jpg
.
How can I delete image.jpg
and keep just the image-150x150.jpg
in function.php
, because I want to optimize my disk space on the hosting plan.
0
images, post-thumbnails, uploads
4 years
2020-03-24T00:51:27-05:00
2020-03-24T00:51:27-05:00 0 Answers
111 views
0
Leave an answer