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
| Parameter | Type | Description |
|---|---|---|
$is_delayed | bool | Set if the updated checkout event listener should be delayed or not |
Changelog
| Version | Description |
|---|---|
| 3.2.0 | Introduced |
Usage Example
add_filter('sequra_is_updated_checkout_listener_delayed', function( $is_delayed ){
return true; // Force the delayed execution.
});Updated 5 months ago