From 129a5c2488dc3631ca44c730392aa6778333dbf8 Mon Sep 17 00:00:00 2001 From: Jason King Date: Fri, 14 Apr 2017 20:21:19 +0930 Subject: [PATCH] Woocommerce 3.0.0 Support --- woocommerce/myaccount/downloads.php | 88 ++++++++++++++--------------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/woocommerce/myaccount/downloads.php b/woocommerce/myaccount/downloads.php index 6bfe3cf..2384631 100644 --- a/woocommerce/myaccount/downloads.php +++ b/woocommerce/myaccount/downloads.php @@ -1,7 +1,7 @@ $column_name ) : ?> - - - - - - - - - - + + + + + + + + + + + + + + + array( + 'url' => $download['download_url'], + 'name' => __( 'Download', 'understrap' ), + ), + ); + if ( $actions = apply_filters( 'woocommerce_account_download_actions', $actions, $download ) ) { + foreach ( $actions as $key => $action ) { + echo '' . esc_html( $action['name'] ) . ''; + } + } + ?> + - - - - - - - - - - array( - 'url' => $download['download_url'], - 'name' => __( 'Download', 'understrap' ) - ) - ); - - if ( $actions = apply_filters( 'woocommerce_account_download_actions', $actions, $download ) ) { - foreach ( $actions as $key => $action ) { - echo '' . esc_html( $action['name'] ) . ''; - } - } - ?> - - + } + ?> - -