Created
August 23, 2023 15:23
-
-
Save clifgriffin/273313e0030ba898367a5a73fbf3bb0e to your computer and use it in GitHub Desktop.
Output custom HTML anywhere on the CheckoutWC WooCommerce checkout page.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Output custom HTML below the CheckoutWC cart summary | |
*/ | |
add_action( 'cfw_after_cart_summary', function() { | |
?> | |
<div class="example-container-class"> | |
<h2>A heading!</h2> | |
<p>A paragraph tag.</p> | |
<p>A paragraph tag with inline PHP: <?php echo 'Inline PHP!'; ?></p> | |
</div> | |
<?php | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment