Skip to main content

fc_checkout_header

Type: Action

Fires inside the distraction-free checkout header.

Signature​

do_action( 'fc_checkout_header' );

Parameters​

This hook does not pass any parameters.

Since​

  • 1.2.0

Source: templates/compat/themes/dt-the7/checkout-page-template/checkout/page-checkout-header.php

Examples​

add_action( 'fc_checkout_header',
/**
* Add checkout header content.
*/
function() {
echo '<div class="custom-checkout-header" style="text-align: center;">Custom checkout header content</div>';
},
10
);