Actions & Filters for Developers Documentation - Honors WP

Actions & Filters for Developers

Actions & Filters for Developers

Table of Contents

Ajax Query Filter #

Sometimes the Ajax (Asynchronous JavaScript and XML) query to load the LearnDash popup (the statistic overview) takes longer than 2 seconds to load.

While our default within the plugin is based on this time, your environment may need extra time to complete the task.

To accomplish this, simply add the filter below to your functions.php file (or tool that manages this) and set the desired time. In our filter example below you can see the time is set to 2500 milliseconds which would equal 2.5 seconds.

add_filter( 'edit_quiz_answers_for_learndash_edit_fields_timeout', function() {
	return 2500;
Shopping Cart
  • Your cart is empty.
Scroll to Top