Created
July 12, 2017 09:44
-
-
Save kreamweb/1ee5115f1cff10e40bdc53cf7e3bbc96 to your computer and use it in GitHub Desktop.
add the other content of email inside the pdf quote
This file contains hidden or 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 | |
| add_action('yith_ywraq_email_after_raq_table','yith_ywraq_email_after_raq_table'); | |
| function yith_ywraq_email_after_raq_table( $order ){ | |
| $af4 = yit_get_prop( $order, 'ywraq_other_email_fields', true ); | |
| if( ! empty( $af4 ) ){ | |
| foreach ( $af4 as $key => $value ) { ?> | |
| <div> | |
| <span><strong><?php echo $key; ?>: </strong></span> | |
| <span><?php echo $value ?></span> | |
| </div> | |
| <?php } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment