sequra_updated_checkout_listener_delay

Hook Filter

Set the delay in milliseconds of the listener for the WooCommerce updated_checkout JS event.

Description

Filter to set the delay in milliseconds of the listener for the WooCommerce updated_checkout JS event.

Parameters

ParameterTypeDescription
$millisecondsintSet if the updated checkout event listener should be delayed or not. Default is 0

Changelog

VersionDescription
3.2.0Introduced

Usage Example

add_filter('sequra_updated_checkout_listener_delay', function( $milliseconds ){
 return 1000; // To wait a second.
});