function trigger_all() { QMCV_IO::trigger_hooks(); if (class_exists('QueryMonitor') && Check_Variables_Options::get_query_monitor() === true) { // Set Query Monitor Collector include_once QMCV_CLASS_DIR . 'query_monitor/collector.php'; QMCV_Collector_Variable_Checking::initialize(); } }
<table class="form-table"> <tbody> <tr> <th scope="row"><label for="query_monitor">Query Monitor </label></th> <td> <label for="query_monitor"> <input type="checkbox" id="query_monitor" name="query_monitor" <?php if (Check_Variables_Options::get_query_monitor() === true) { echo 'checked="checked"'; } ?> /> Enable Query Monitor </label> </td> </tr> <tr> <th scope="row"><label for="footer">Footer </label></th> <td> <label for="footer"> <input type="checkbox" id="footer" name="footer" <?php if (Check_Variables_Options::get_footer() === true) { echo 'checked="checked"'; } ?> /> Enable Footer </label> </td> </tr> <tr>