Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the easy-digital-downloads domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/runcloud/webapps/qsmstg-sep25/wp-includes/functions.php on line 6121

Deprecated: Creation of dynamic property EDD_User_History::$plugin_file is deprecated in /home/runcloud/webapps/qsmstg-sep25/wp-content/plugins/edd-user-history/edd-user-history.php on line 88

Deprecated: Creation of dynamic property EDD_User_History::$basename is deprecated in /home/runcloud/webapps/qsmstg-sep25/wp-content/plugins/edd-user-history/edd-user-history.php on line 89

Deprecated: Creation of dynamic property EDD_User_History::$directory_path is deprecated in /home/runcloud/webapps/qsmstg-sep25/wp-content/plugins/edd-user-history/edd-user-history.php on line 90

Deprecated: Creation of dynamic property EDD_User_History::$directory_url is deprecated in /home/runcloud/webapps/qsmstg-sep25/wp-content/plugins/edd-user-history/edd-user-history.php on line 91

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the edd-recurring domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/runcloud/webapps/qsmstg-sep25/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the edd-recurring domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/runcloud/webapps/qsmstg-sep25/wp-includes/functions.php on line 6121
Our QMN API - The Plugin Helper Class - Quiz And Survey Master

šŸ›ļø Save 15% on orders over $99

All of the API for Quiz and Survey MasterĀ is built into a wrapper class called Plugin Helper. This class is stored in the main plugin class. To access the plugin helper class, you can use the class like this:

globalĀ $mlwQuizMasterNext;
$mlwQuizMasterNext->pluginHelper->register_question_type();

First, you have to retrieve the main plugin class which is stored in $mlwQuizMasterNext. From there you can access the api with $mlwQuizMasterNext->pluginHelper. Ā The plugin helper class is created in the qmn_helper.php file in the includes folder.

Now, let’s take a look at how to create your own template variables.