I need to add custom text element after the add to cart button in WooCommerce.
I try with this code, that I insert in functions.php
add_action( 'woocommerce_after_add_to_cart_button', 'inserisce_testo_dopobottone' );
function inserisce_testo_dopobottone() {
echo '<div class="second_content">New text</div>';
}
That's works, but now i need that text is customizable for every page. Is that possible?
