Hi @brkard4141,
Thank you for raising your concern.
Please note that when you upload an image via the WP User Frontend form, the image is stored in the WordPress Media Library. By default, WordPress doesn’t create duplicates of the same file. Instead, it uses a single instance of the file in the Media Library and references it in multiple posts.
When you delete an image from the Media Library, it is permanently removed from the system. This behavior is not specific to the WP User Frontend plugin—it’s how WordPress manages media files.
This behavior is not a bug but the intended functionality of WordPress media management. The WP User Frontend plugin uses the WordPress Media Library system, so it inherits this behavior.
Hope this information will help.
The problem is when you want to remove image or change image with wpuf form , for example featured image, wpuf form deletes images from media library completely. In wordpress when you want to remove featured image from post it does not delete image. You can only delete image wfrom media library.
So i need an option like, not delete image from media library when image deleted with wpuf.
Can we do that ?
Thanks.
-
This reply was modified 1 year, 9 months ago by
brkard4141.
Hi @brkard4141,
By default, WordPress does not delete images from the media library when removing a featured image. However, WPUF’s form functionality currently removes the associated media file when an image is replaced or removed. Unfortunately, the plugin does not have a built-in setting to prevent this behavior at the moment. To address this, you can customize the plugin’s behavior using custom development.
Hope you understand.