Ready to get started?Download WordPress


SpeakUp! Email Petitions
[resolved] Stop accepting signatures after goal is met (3 posts)

  1. alinkbroker
    Posted 1 year ago #

    Say I set the signature goal to 40. Once this goal is met, is there a way to stop accepting signatures? Right now, if someone signs and confirms their email, their signature is added, making it 41 and so on. I'm hoping there may be a way to lock it (similar to the view when it hits the expiration date).
    Thank you for your assistance!


  2. Kreg Wallace
    Plugin Author

    Posted 1 year ago #

    There aren't any built-in options for that. The easiest thing to do would be to notice when you've collected all the signatures and then edit the petition to have an expiration date of the current time.

    Alternately you could open up includes/emailpetition.php and edit the line that checks for expiration (line 51 or so) from

    if ( ! $expired ) {


    if ( $petition->signatures <= $petition->goal ) {

    And then change the expiration message text on the settings page to something more appropriate.

    For the widget, you'd need to make a similar change in widget.php

  3. alinkbroker
    Posted 1 year ago #

    Great, thank you for the quick respose and support!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.