diff --git a/woocommerce/myaccount/downloads.php b/woocommerce/myaccount/downloads.php new file mode 100755 index 0000000..a5a2b41 --- /dev/null +++ b/woocommerce/myaccount/downloads.php @@ -0,0 +1,104 @@ +customer->get_downloadable_products(); +$has_downloads = (bool) $downloads; + +do_action( 'woocommerce_before_account_downloads', $has_downloads ); ?> + + + + + + + + + $column_name ) : ?> + + + + + + + $column_name ) : ?> + + + + +
+ + + + + + + + + + + + + + + + + + + + array( + 'url' => $download['download_url'], + 'name' => __( 'Download', 'woocommerce' ) + ) + ); + + if ( $actions = apply_filters( 'woocommerce_account_download_actions', $actions, $download ) ) { + foreach ( $actions as $key => $action ) { + echo '' . esc_html( $action['name'] ) . ''; + } + } + ?> + + +
+ + + + +
+ + + + +
+ + +