March 24, 2014 at 5:10 pm #88
This hook is associated with the ajax call that is used for processing the voting. So how you are testing the above code to work?
You can check by sending a simple email in the above hook. Please refer to the manual for better instructions.