Title: Two same hooks
Last modified: May 6, 2022

---

# Two same hooks

 *  Resolved [samuelmarcinko](https://wordpress.org/support/users/samuelmarcinko/)
 * (@samuelmarcinko)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/two-same-hooks/)
 * Hello. we use your plugin with LearnDash addon for quizez.. everything works 
   perfect but we need add 2 same hooks. We use hook Complete Quiz between grad 
   to add points by quiz resuluts as you can see here [https://imgur.com/a/znuSGm5](https://imgur.com/a/znuSGm5)
 * This hook is triggered beteween 80-90.99% – 1 POINT
 * But I need to add there same hook but for 2 POINTS between 91-100% – 2 POINTS?
 * How can I achieve this ? Because I cant add there same hook twice.

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

 *  [A.Tariq](https://wordpress.org/support/users/arsalantariq/)
 * (@arsalantariq)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/two-same-hooks/#post-15545878)
 * [@samuelmarcinko](https://wordpress.org/support/users/samuelmarcinko/),
 * Thank you for contacting us, One option is that you can enable a specific hook
   checkbox and then use add more button to reward points between 91-100%. However,
   you will have to select a different quiz from the dropdown option as the same
   quiz cannot be selected twice.
 *  Thread Starter [samuelmarcinko](https://wordpress.org/support/users/samuelmarcinko/)
 * (@samuelmarcinko)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/two-same-hooks/#post-15546004)
 * Yes I understand, but I need to create 2 conditions for all quizes is I wrote
   above. Is that possible with some custom code ?
 *  Thread Starter [samuelmarcinko](https://wordpress.org/support/users/samuelmarcinko/)
 * (@samuelmarcinko)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/two-same-hooks/#post-15603022)
 * its working perfect mate… thank you 🙂 we already bought a custom request service
   from your dev team about generating credits to leardash certificates and hopefully
   it will work..
 * I just want to ask, because if I update plugin using WordPress plugins dashboard,
   it will probably overwrite this custom function you made for us right ? How can
   I prevent overwriting and have plugin up to date ?

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

The topic ‘Two same hooks’ is closed to new replies.

 * ![](https://ps.w.org/mycred/assets/icon-128x128.gif?rev=3512531)
 * [Points Management System For Gamification, Ranks, Badges, and Loyalty Rewards Program - myCred](https://wordpress.org/plugins/mycred/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mycred/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mycred/)
 * [Active Topics](https://wordpress.org/support/plugin/mycred/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mycred/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mycred/reviews/)

## Tags

 * [hook](https://wordpress.org/support/topic-tag/hook/)

 * 3 replies
 * 3 participants
 * Last reply from: [samuelmarcinko](https://wordpress.org/support/users/samuelmarcinko/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/two-same-hooks/#post-15603022)
 * Status: resolved