Support » Plugin: Post Expirator » [Plugin: Post Expirator] Defualt expiration duration

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Aaron Axelsen

    (@axelseaa)

    The plugin does not have a way to do this currently. I have thought about looking at adding a default expiration option to future versions.

    To change the post to pending review, edit the “expirationdate_delete_expired_posts” function and change

    wp_update_post(array('ID' => $a->post_id, 'post_status' => 'draft'));

    to be

    wp_update_post(array('ID' => $a->post_id, 'post_status' => 'pending'));

    That should do the trick for that!

    Thanks Aaron!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Post Expirator] Defualt expiration duration’ is closed to new replies.