verdut
Forum Replies Created
-
Thank you very much. It works.
Slight edit. When the user submits Answer A.(not on press, as mentioned above)
Hello. Thank you for the answer. But I’m having difficulties. In the $response variable as I could see there’s a message field that tells me if the vote has been saved or not, a notice and a success values.
I need to get the answer that the user voted for. If let’s say the poll has 2 possible answers, Answer A and Answer B, when the user press Answer A, I need to get from the filter or the action, Answer A. Maybe I don’t know how to read the $response variable properly.
Also, I figured out I have another question. I hope you can answer it here too. Is there also any filter or action that triggers when a poll is published in the wp admin area and also that gives the data of the poll created ? Like the title of the form and the answer options ?