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