Deletes whitespace
This commit is contained in:
parent
1b03a80ecb
commit
8d757e3d3c
|
@ -70,7 +70,7 @@ if ( $customer_orders ) : ?>
|
||||||
<?php elseif ( 'order-actions' === $column_id ) : ?>
|
<?php elseif ( 'order-actions' === $column_id ) : ?>
|
||||||
<?php
|
<?php
|
||||||
$actions = wc_get_account_orders_actions( $order );
|
$actions = wc_get_account_orders_actions( $order );
|
||||||
|
|
||||||
if ( ! empty( $actions ) ) {
|
if ( ! empty( $actions ) ) {
|
||||||
foreach ( $actions as $key => $action ) {
|
foreach ( $actions as $key => $action ) {
|
||||||
echo '<a href="' . esc_url( $action['url'] ) . '" class="button ' . sanitize_html_class( $key ) . '">' . esc_html( $action['name'] ) . '</a>';
|
echo '<a href="' . esc_url( $action['url'] ) . '" class="button ' . sanitize_html_class( $key ) . '">' . esc_html( $action['name'] ) . '</a>';
|
||||||
|
|
Loading…
Reference in New Issue