I suggest you ...

Add an option to expire to Trash/Bin

Is it possible to add this option to Post Expirator?

2 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Anonymous shared this idea  ·   ·  Admin →

    2 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • GermanKiwiGermanKiwi commented  · 

        I just saw a new comment added here today (I can't see it now - not sure where it went) - which claimed that the Post Expirator's "delete" option deletes the post permanently, rather than moving it to the Trash, and that this is because the plugin calls wp_delete_post() rather than wp_trash_post().

        However I don't believe this is correct. Firstly, I've been using Post Expirator with the "delete" option myself, and all of the deleted posts are in my Trash, they're not deleted permanently. Secondly, the wp_delete_post() function actually does send posts to the Trash by default, as long as its $force_delete parameter is set to 'false', which it is by default. The Function Reference page at https://codex.wordpress.org/Function_Reference/wp_delete_post explains, "wp_delete_post() automatically reverts to wp_trash_post() if $force_delete is false".

        Therefore I believe this feature request is not needed, because the plugin already does exactly this. :)

      • GermanKiwiGermanKiwi commented  · 

        Isn't that what happens when you set it to expire with "delete"?

      Feedback and Knowledge Base