• Resolved thinlizzie

    (@thinlizzie)


    hi, I love the plugin, thanks for providing it.

    My site uses a very simple reward system when users perform certain actions. I would like to be able to make clicking the “Vote” button one of those actions.

    So I need to know where to hook my custom function onto the vote button-click. Plus I’d need the poll ID and poll title to be available.

    My polls are all very simple, type = choosing, few options, only one option can be selected, plus a Vote button.

    Something like:

    add_action ( ‘poll_submit_button_was_clicked’ , ‘my_function’ );

    function my_function( $poll_id, $poll_title ) {

    // my code goes here

    }

    Thank you, I would appreciate your assistance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Jasmine

    (@hyenokian)

    Dear @thinlizzie,

    Thanks for the topic.

    At the moment, unfortunately, the plugin doesn’t offer such a feature.

    By the way, our Dev Team has decided to do a customization special for you to achieve your desired result with the plugin.
    Also, we will add this feature in the next update of the plugin.

    Please contact us via this form, so our developers can provide you with a customized zip file before the update is released.

    Looking forward to hearing back from you.

    Thank you.

    Thread Starter thinlizzie

    (@thinlizzie)

    Thanks so much, your Dev Team helped me implement the new code and everything works perfectly.

    Such great customer support, fast & professional!

    I am very very impressed.

    Plugin Support Jasmine

    (@hyenokian)

    Dear @thinlizzie,

    Thanks for the reply and kind words.
    I am glad to hear that everything worked out for you!

    Thank you for your kind review as well! Our team was so happy and excited to read your nice feedback.

    If you have any other questions, feel free to open another topic.

    Thank you.

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

The topic ‘Execute my custom function when clicking Vote button’ is closed to new replies.