• Resolved tristanhiceo

    (@tristanhiceo)


    Hello,

    Thanks for your plugin, it works quite well. I started using it and I noticed that I couldn’t restore posts after they were deleted.

    Actually, when you delete the post, it goes to the trash, and when trying to restore the post, the post meta ‘auto_delete_post_time_key’ remains at the same value, causing the post to be immediately put back into the trash.

    The solution that I found was to add the following line of code when deleting the post in your plugin:

    delete_post_meta($unique_post_id, 'auto_delete_post_time_key');

    I believe it could be a valuable feature to consider adding in future updates.



Viewing 1 replies (of 1 total)
  • Plugin Author Shahadat Hossain

    (@palashwpdev)

    Hello,

    Thanks for reaching out and spending time to give valuable suggestions. I feel bad, that you faced some issues with the plugin. I will definitely try to solve that and hopefully will release the update within the next WordPress update, which is v.6.4.

    After that you may again use the plugin without any difficulties.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Restore deleted post’ is closed to new replies.