Dear Avinash,
Actually the snippet does work as intended.
The only issue left is the use of the word “ticket”
The “issue” is that this word is used at large as part of our Event Tickets plugin.
Changing it is possible, however, this becomes a customization at this point. You will simply need to change the word tickets to the string of your choice in tickets.php
Here’s a slightly modified version to get you started: tickets
Best regards,
Geoff B.