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