Title: Add more filters, respect SCRIPT_DEBUG
Last modified: November 29, 2017

---

# Add more filters, respect SCRIPT_DEBUG

 *  [Philipp Bammes](https://wordpress.org/support/users/tyrannous/)
 * (@tyrannous)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/add-more-filters-respect-script_debug/)
 * Hi,
    great plugin.
 * **Add more filters**
    With the current version, it is hard to modify the HTML
   markup if you have bigger changes to make. I noticed there’s basically just one
   filter (`wp_quiz_output`) developers can use to modify the quizes HTML.
 * You should consider adding filters to all methods called in `WP_Quiz->render_public_quiz()`.
   You also should consider splitting these methods into smaller ones, each with
   a filter (e. g. `get_continue_button()`).
 * **Respect `SCRIPT_DEBUG`**
    Currently, all assets are enqueued minifed. WordPress
   has a handy constant called `SCRIPT_DEBUG` ([https://codex.wordpress.org/Debugging_in_WordPress#SCRIPT_DEBUG](https://codex.wordpress.org/Debugging_in_WordPress#SCRIPT_DEBUG))
   which you should use to determine whether the assets should be enqueued minified
   or not. This would help debugging.
 * I look forward to your reply (althought I expect none …)
    Thanks.

The topic ‘Add more filters, respect SCRIPT_DEBUG’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-quiz_68666c.svg)
 * [Best Quiz Plugin for WordPress: WP Quiz](https://wordpress.org/plugins/wp-quiz/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-quiz/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-quiz/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-quiz/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-quiz/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-quiz/reviews/)

## Tags

 * [assets](https://wordpress.org/support/topic-tag/assets/)
 * [markup](https://wordpress.org/support/topic-tag/markup/)
 * [script_debug](https://wordpress.org/support/topic-tag/script_debug/)

 * 0 replies
 * 1 participant
 * Last reply from: [Philipp Bammes](https://wordpress.org/support/users/tyrannous/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/add-more-filters-respect-script_debug/)
 * Status: not resolved