fc_pro_order_received_failed_display_action_account
Type: Filter
Filters whether to display order received failed display action account.
Signature
apply_filters( 'fc_pro_order_received_failed_display_action_account', $display );
Parameters
| Name | Type | Description |
|---|---|---|
$display | bool | Whether to display order received failed display action account. Default false. |
Since
1.3.0
Source: templates/fc-pro/order-received/checkout/order-received-failed.php
Examples
add_filter( 'fc_pro_order_received_failed_display_action_account',
/**
* Enable the "My account" button on failed order pages.
*
* @param bool $display Whether to display order received failed display action account. Default false.
* @return bool Filtered value.
*/
function( $display ) {
return true;
},
10
);