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 calledSCRIPT_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.