The usual way how the profile images works is it will delete the old image that was used as profile photo and it will replace the old photo with the new one but what i want to change is it should only replace the new image but it should not delete the old image…if i use the link of the old image i should be able to access the old image
How to change this functionality or if i get the function name and the file which handles this function I’ll change it myself
Hi,
Unfortunately, there is currently no such option or a PHP snippet to change this, but you can view the code where the previous attachment is deleted at this link: hivepress/includes/controllers/class-attachment.php at master · hivepress/hivepress · GitHub
I hope this is helpful to you.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.