fc_compat_klarna_checkout_skip_undo_hooks_early_classes
Type: Filter
Filters the classes whose checkout hooks are not restored early when leaving Klarna Checkout or Svea Checkout.
Signature
apply_filters( 'fc_compat_klarna_checkout_skip_undo_hooks_early_classes', $skip );
Parameters
| Name | Type | Description |
|---|---|---|
$skip | array | Whether to skip the default behavior. |
Since
3.0.4
Source: inc/compat/plugins/compat-plugin-klarna-checkout-for-woocommerce.php
Examples
add_filter( 'fc_compat_klarna_checkout_skip_undo_hooks_early_classes',
/**
* Add custom feature classes to skip early when undoing Klarna Checkout hooks.
*
* @param array $skip Whether to skip the default behavior.
* @return array Filtered value.
*/
function( $skip ) {
$skip[] = 'FluidCheckout_EarlyFeature';
return $skip;
},
10
);