sequra_is_updated_checkout_listener_delayed

Hook Filter

Set the flag to delay the execution of the listener for the WooCommerce updated_checkout JS event.

Description

Filter for delaying the execution of the listener for the WooCommerce updated_checkout JS event

Parameters

ParameterTypeDescription
$is_delayedboolSet if the updated checkout event listener should be delayed or not

Changelog

VersionDescription
3.2.0Introduced

Usage Example

add_filter('sequra_is_updated_checkout_listener_delayed', function( $is_delayed ){
 return true; // Force the delayed execution.
});