customer->get_downloadable_products(); $has_downloads = (bool) $downloads; wc_print_notices(); /** * My Account navigation. * * @since 2.6.0 */ do_action( 'woocommerce_account_navigation' ); ?>
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'] ) . ''; } } ?> |