Call function from function.php
-
Hi, I have inserted a function in the function.php file that allows me to type some text in the cart. I would now like to be able to view it in the pdf. The function is:
add_action('woocommerce_before_cart_contents', 'tf_cart_page_custom_text'); function tf_cart_page_custom_text() { $message='<div class="cart-custom-message">'; $message.='<h2>Intestazione</h2>'; $message.='<p align="justify"><textarea></textarea>'; $message.='</div>'; echo $message; }
Can you help me?ù
Thank you
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Call function from function.php’ is closed to new replies.