fc_pro_enable_order_details_wide_layout
Type: Filter
Filters whether order details use the wide layout.
Signature
apply_filters( 'fc_pro_enable_order_details_wide_layout', $enabled );
Parameters
| Name | Type | Description |
|---|---|---|
$enabled | bool | Whether order details use the wide layout. |
Since
1.3.0
Source: inc/order-received-page.php
Examples
add_filter( 'fc_pro_enable_order_details_wide_layout',
/**
* Force wide layout for all orders.
*
* @param bool $enabled Whether order details use the wide layout.
* @return bool Filtered value.
*/
function( $enabled ) {
return true;
},
10
);