Skip to main content

fc_compat_dibs_easy_skip_undo_hooks_early_classes

Type: Filter

Filters the classes whose checkout hooks are not restored early when leaving Nets Easy.

Signature​

apply_filters( 'fc_compat_dibs_easy_skip_undo_hooks_early_classes', $skip );

Parameters​

NameTypeDescription
$skiparrayWhether to skip the default behavior.

Since​

  • 3.1.5

Source: inc/compat/plugins/compat-plugin-dibs-easy-for-woocommerce.php

Examples​

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

return $skip;
},
10
);