plugins – How to display an Adsense ad after every 5 questions of the test?

Question

I use the “mTouch Quiz” plugin on my WordPress site.

if ((\$GLOBALS['mtq_number_displayed'] % 5) == 0) { // Display the Adsense ad here }