Title: Does this work on private posts
Last modified: August 22, 2016

---

# Does this work on private posts

 *  Resolved [dleigh](https://wordpress.org/support/users/dleigh/)
 * (@dleigh)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/does-this-work-on-private-posts/)
 * I have 1 post in the selected category that I want APS to re-post. It’s a “private”
   post. It’s not finding anything to re-post. Recycle is ON and Post Drafts is 
   OFF.
 * Just wondering if it does not see it because it’s private (I would prefer that
   it stay private).
 * [https://wordpress.org/plugins/auto-post-scheduler/](https://wordpress.org/plugins/auto-post-scheduler/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [johnh10](https://wordpress.org/support/users/johnh10/)
 * (@johnh10)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/does-this-work-on-private-posts/#post-5320099)
 * Yes I’m afraid that’s true. Currently it doesn’t look for post_status “private”,
   perhaps in next version. If you need something now, find and change the following
   in the plugin php file:
 *  // if check drafts off or if no drafts match query, check if we should recycle
   posts instead
    if (empty($results) && $aps_recycle == TRUE) { $args[‘post_status’]
   = “publish”; $args[‘orderby’] = “post_date”; $args[‘order’] = “ASC”; $results
   = get_posts($args); }
 * change post_status line to
    $args[‘post_status’] = “private”;
 * then find line
 *  $update[‘post_status’] = ‘publish’;
 * and change line to
    $update[‘post_status’] = $args[‘post_status’];
 * that hack should recycle your private posts.
 *  Plugin Author [johnh10](https://wordpress.org/support/users/johnh10/)
 * (@johnh10)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/does-this-work-on-private-posts/#post-5320314)
 * Hello,
    I’ve decided not to publish private status posts, as that would defeat
   the purpose of making it private to begin with. If you need this the code hack
   above would be best.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Does this work on private posts’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/auto-post-scheduler_bfcacf.svg)
 * [Auto Post Scheduler](https://wordpress.org/plugins/auto-post-scheduler/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/auto-post-scheduler/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/auto-post-scheduler/)
 * [Active Topics](https://wordpress.org/support/plugin/auto-post-scheduler/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/auto-post-scheduler/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/auto-post-scheduler/reviews/)

## Tags

 * [private post](https://wordpress.org/support/topic-tag/private-post/)

 * 2 replies
 * 2 participants
 * Last reply from: [johnh10](https://wordpress.org/support/users/johnh10/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/does-this-work-on-private-posts/#post-5320314)
 * Status: resolved