Support » Plugin: HD Quiz » Hooks and Filters for the Quiz Plugin

  • Resolved 9itish



    Thanks for creating this awesome quiz plugin. πŸ™‚

    Are there any hooks and filters that I can read about in the documentation of this plugin somewhere?

    Could you please tell me the table name where all the questions are stored inside the WordPress database?


Viewing 1 replies (of 1 total)
  • Plugin Author Harmonic Design


    Hi 9itish,
    sorry, but I do not have full documentation written for this yet. I suggest looking at the Save Results Light addon for an example. Questions are stored in the posts table – they are a custom post type with quizzes being a custom taxonomy.

    hdq_before add content before a quiz
    hdq_after add content after (great for adding JS that needs to modify the quiz is some way)
    hdq_submit run a javascript function on quiz complete and also run a php function of the same name if available (take a look at the Save Results Light addon for this)

    There are also filters to add custom meta to quiz settings and questions of which examples can be found here:

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.