Home Forums Plugin Support WP User Frontend Pro Send posts to trash

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  madegood 6 years, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #3923

    Post count: 13


    When I delete my items from the dashboard the disappear completely. Is there a way to send them to the trash first instead? Can you tell me how to build a custom button that sends items to the trash, and not delete them?



    Tareq Hasan
    Post count: 2831

    The deleted posts are actually moves to trash. But we don't show trash posts in the dashboard, you can't see it.

    If you want to see trashed posts too, you've to add the trash post status to the dashboard query in /class/frontend-dashboard.php in line 72. There will be kinda problem if you do this as you'll be able to edit trashed posts.


    Post count: 13

    Actually for me, the deleted posts are disappearing forever. In the end I built a custom dashboard page and built the delete link with the wordpress default delete link;

    get_delete_post_link( $id )

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Send posts to trash’ is closed to new replies.