• Resolved stl99

    (@stl99)


    Hi,

    Would it be possible to give new articles a default post duration like 90 days instead of selecting the expiration date?

    Also I’d like to set the article to pending review status instead of draft status.

    Many thanks in advance for any help!

    Cheers,
    Thomas

    http://wordpress.org/extend/plugins/post-expirator/

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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!

    Thread Starter stl99

    (@stl99)

    Thanks Aaron!

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