wpcsr_create_order_after_form_wrapper

“wpcsr_create_order_after_form_wrapper” action hook allow you to add additional information after the form section under the last steps on creating a quotation.

Note: This action hooks is available only for the Shipping Rate addon plugin. you may also use “wpcsr_create_order_before_form_wrapper” to display the data before the form section.

Copy and paste this code to test the output in your theme functions.php file.


function my_custom_data(){
	?>
    <div class="my-4">
        <h2>My Custom Data</h2>
        <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
        <p>Donec nec justo eget felis facilisis fermentum. Aliquam porttitor mauris sit amet orci. Aenean dignissim pellentesque felis.</p>
    </div>
    <?php
}
add_action('wpcsr_create_order_after_form_wrapper', 'my_custom_data');

0
    0
    Your Cart
    Your cart is emptyReturn to Shop