fc_pro_enable_cart_page_template
Type: Filter
Filters whether the plugin cart page template is used.
Signature
apply_filters( 'fc_pro_enable_cart_page_template', $enabled );
Parameters
| Name | Type | Description |
|---|---|---|
$enabled | bool | Whether the plugin cart page template is used. Default true. |
Since
2.1.0
Source: inc/cart-page.php
Examples
add_filter( 'fc_pro_enable_cart_page_template',
/**
* Disable cart page template feature.
*
* @param bool $enabled Whether the plugin cart page template is used. Default true.
* @return bool Filtered value.
*/
function( $enabled ) {
return false;
},
10
);