Frontend Uploader
delete files from front-end (13 posts)

  1. Daelorn
    Posted 2 years ago #


    Great plugin!
    Is there a way for users to delete their uploaded files from front-end?



  2. nicole2292
    Posted 1 year ago #

    I would also like this feature. I think it is pointless not to show a thumbnail preview of the uploaded images and a delete function on the front end after upload.

  3. lupetu
    Posted 1 year ago #

    I'm putting in another vote for this delete feature. Would be very useful

  4. julia227
    Posted 1 year ago #

    Is there a way to have uploaded files automatically post to a page?

  5. julia227
    Posted 1 year ago #

    How can I create a drop-down selection of different category types for when the user uploads a file? Thanks!

  6. lunatic4_u
    Posted 1 year ago #

    We want answers to above questions .. author should reply otherwise there is no use of this discussion page

  7. Rinat Khaziev
    Plugin Author

    Posted 1 year ago #

    Hey Daelorn,

    Currently there's no way to do so. What would be the use case for allowing users to delete files that they just uploaded?


    Currently there's no way to do so. It's planned for future releases though.


    For now you can only set one category via shortcode parameters.


    This is a free software that I develop and maintain whenever I have a spare minute, so telling what should I do is at least inconsiderate ;)

  8. Daelorn
    Posted 1 year ago #

    Hi Rinat,

    Thanks for your reply.
    Well, there can be several reasons:

    1. Uploaded wrong file
    2. Upload revised version
    3. Simply delete a file that is not actual anymore.

    We don't want the user to contact us each time they wish to delete one of their files.

  9. Rinat Khaziev
    Plugin Author

    Posted 1 year ago #

    Hey Daelorn,

    It's pretty easy to implement for registered users (because we could store uploader's id and that way add a relationship with the upload), but I'm not sure what would be a bulletproof solution for unregistered users. I could store a cookie indicating what uploads this user had made but it's not very reliable. I'm open to your ideas.

  10. Daelorn
    Posted 1 year ago #

    Well, I'm actually looking for a solution where only registered members can add/delete files, so I'm fine with the first.

    However, I'm not sure what the others want. Maybe you could have a look at the rtmedia plugin. They do it for images.

  11. RobinWebber
    Posted 1 year ago #

    Hi there,

    Great plugin! Is it already possible to delete files from the front end? I would like this functionality too, for registered members.

    Thank you!

  12. Murilo Pinto Pereira
    Posted 1 year ago #

    Hi there!

    Its possible delete images in front-end.
    I got this with non-admin users.

    I use:
    in HTML:

    <a class="remImage" name="<?php echo $image->ID; ?>" href="#" onclick="delete_image(<?php echo $image->ID; ?>)"><?php _e('delete');?></a>


    function delete_image(id_image) {
        var attID = id_image;
            type: 'post',
            url: '/wp-admin/admin-ajax.php',
            data: {
                action: 'delete_attachment',
                att_ID: id_image,
                _ajax_nonce: jQuery('#nonce').val(),
                post_type: 'attachment'
            success: function() {

    in functions.php

    add_action( 'wp_ajax_delete_attachment', 'delete_attachment' );
    function delete_attachment( $post ) {
        //echo $_POST['att_ID'];
        $msg = 'Attachment ID [' . $_POST['att_ID'] . '] has been deleted!';
        if( wp_delete_attachment( $_POST['att_ID'], true )) {
            echo $msg;
  13. RobinWebber
    Posted 1 year ago #

    Thank you so much!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Frontend Uploader
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic