Show ACF custom field
-
Hi, I’m trying to place a custom ACF field on the invoice but it doesn’t show it with the ACF code.
I am using the following code:
add_action( 'wpo_wcpdf_after_order_details', 'wpo_wcpdf_custom_text', 10, 2 ); function wpo_wcpdf_custom_text ($template_type, $order) { ?> <br> <h3> DETALES GENERALES </h3> <br> <p> <b>Hora de encuentro:</b> <?php the_field( 'duracion' ); ?> </p> <br> <p>Gracias por reservar este tour con OV TRAVEL. ?Vivirás una excelente experiencia!</p> <?php }
The result is this:
https://cl.ly/63f9b2fe08f7
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Show ACF custom field’ is closed to new replies.