-
-
Save billrobbins/8217ff526d27d40715920e809a7fce50 to your computer and use it in GitHub Desktop.
This file contains 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
<dl class="purchased-tickets"> | |
<?php foreach ( $tickets as $ticket ) : ?> | |
<dt> | |
<a href="<?php echo esc_url( wcbo_get_my_ticket_url( $ticket->ID ) ); ?>"> | |
<?php echo esc_html( $ticket->post_title ); ?> | |
</a> | |
<?php if ( 'pending' === $ticket->post_status ) : ?> | |
— | |
<span class="pending"><?php _e( 'Pending', 'woocommerce-box-office' ); ?></span> | |
<?php endif; ?> | |
</dt> | |
<dd class="description"> | |
<?php echo WC_Order_Barcodes()->display_barcode($ticket->ID); ?> | |
<?php echo wc_box_office_get_ticket_description( $ticket->ID, $fields_format ); ?> | |
</dd> | |
<?php endforeach; ?> | |
</dl> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment