| 1 |
<?php |
| 2 |
/** |
| 3 |
* Order details template |
| 4 |
* |
| 5 |
* @package SeQura/WC |
| 6 |
* @var string $args The arguments. Must contains: |
| 7 |
* - 'sequra_link' The link to the order in the seQura back office. |
| 8 |
*/ |
| 9 |
|
| 10 |
defined( 'WPINC' ) || die; |
| 11 |
if ( ! isset( $args['sequra_link'] ) ) { |
| 12 |
return; |
| 13 |
} |
| 14 |
?> |
| 15 |
<p class="form-field form-field-wide wc-order-status"> |
| 16 |
<a class="sequra-link" target="_blank" href="<?php echo esc_url( $args['sequra_link'] ); ?>"><?php esc_html_e( 'View on seQura', 'sequra' ); ?></a> |
| 17 |
</p> |
| 18 |
|