Skip to main content

fc_pro_order_received_before_content

Type: Action

Fires before the content in the order received.

Signature​

do_action( 'fc_pro_order_received_before_content' );

Parameters​

This hook does not pass any parameters.

Since​

  • 1.3.0

Source: templates/fc-pro/order-received/checkout/thankyou.php

Examples​

add_action( 'fc_pro_order_received_before_content',
/**
* Add order received intro message.
*/
function() {
echo '<div class="order-received-intro">';
echo '<p>' . esc_html__( 'Your order has been received and is being processed.', 'text-domain' ) . '</p>';
echo '</div>';
},
10
);