• Resolved mehdis6211

    (@mehdis6211)


    hello
    I used to use the following code in the previous versions of hd quiz to automatically start the test, but unfortunately the code does not work in the new version, please guide me, thank you.

    function hdq_mehdis6211_init($data)
    {
    array_push($data->hdq_init, “hdq_mehdis6211_after”);
    return $data;
    }
    add_action(“hdq_init”, “hdq_mehdis6211_init”);

    function hdq_mehdis6211_after()
    {
    ?>

    <?php

    }
    add_action(“hdq_after”, “hdq_mehdis6211_after”);

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