Support » Plugin: Pre-Publish Reminders » [Plugin: Pre-Publish Reminders] Request: Increase the max # of reminders

Viewing 1 replies (of 1 total)
  • felthos

    (@felthos)

    Well I couldn’t leave well enough alone, and decided to go digging through the code to see if I could find an easy answer, and I got lucky and hit what at least works on my first try.

    Look for the line in the getAllReminders() function:
    $reminders = get_posts(array( 'numberposts' => 0, 'post_type' => $this->postType, 'orderby' => 'menu_order', 'order' => 'ASC'));

    and change it to:
    $reminders = get_posts(array( 'numberposts' => 20, 'post_type' => $this->postType, 'orderby' => 'menu_order', 'order' => 'ASC'));

    So all you’re doing is changing the 0 to 20. I don’t understand why it’s 0 and not 10, but hey 20 is my new limit and that seems to work just fine.

    YMMV. Good luck!

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Pre-Publish Reminders] Request: Increase the max # of reminders’ is closed to new replies.