Skip to main content

fc_compat_dintero_checkout_skip_undo_hooks_early_classes

Type: Filter

Filters the classes whose checkout hooks are not restored early when leaving Dintero Checkout.

Signature​

apply_filters( 'fc_compat_dintero_checkout_skip_undo_hooks_early_classes', $skip );

Parameters​

NameTypeDescription
$skiparrayWhether to skip the default behavior.

Since​

  • 3.0.4

Source: inc/compat/plugins/compat-plugin-dintero-checkout-for-woocommerce.php

Examples​

add_filter( 'fc_compat_dintero_checkout_skip_undo_hooks_early_classes',
/**
* Add custom feature classes to skip early when undoing Dintero Checkout hooks.
*
* @param array $skip Whether to skip the default behavior.
* @return array Filtered value.
*/
function( $skip ) {
$skip[] = 'FluidCheckout_EarlyFeature';
return $skip;
},
10
);