fc_pro_cart_item_quantity_limit_animation_enabled
Type: Filter
Filters whether to enable cart item quantity limit animationd.
Signature
apply_filters( 'fc_pro_cart_item_quantity_limit_animation_enabled', $enabled );
Parameters
| Name | Type | Description |
|---|---|---|
$enabled | bool | Whether to enable cart item quantity limit animationd. Default true. |
Since
2.0.6
Source: inc/cart-ajax.php
Examples
add_filter( 'fc_pro_cart_item_quantity_limit_animation_enabled',
/**
* Disable quantity limit animation.
*
* @param bool $enabled Whether to enable cart item quantity limit animationd. Default true.
* @return bool Filtered value.
*/
function( $enabled ) {
return false;
},
10
);