fc_pro_order_received_successful_no_order_details
Type: Action
Fires when outputting the order received successful no order details.
Signature
do_action( 'fc_pro_order_received_successful_no_order_details' );
Parameters
This hook does not pass any parameters.
Since
1.2.0
Source: templates/fc-pro/order-received/checkout/thankyou.php
Examples
add_action( 'fc_pro_order_received_successful_no_order_details',
/**
* Add help message when no order details are available.
*/
function() {
echo '<div style="text-align: center;" class="missing-order-details-help">';
echo '<p>' . esc_html__( 'If you have any questions, please contact our support team with your order confirmation email.', 'text-domain' ) . '</p>';
echo '</div>';
},
15
);