get_items(); if ( $items ) { $currency_symbol = learn_press_get_currency_symbol( $order->get_currency() ); foreach ( $items as $item_id => $item ) { if ( ! isset( $item['course_id'] ) ) { continue; } $price = (float) $item['subtotal']; if ( $price <= 0 ) { $price = __( 'Free', 'learnpress' ); } else { $price = learn_press_format_price( $price, $currency_symbol ); } if ( apply_filters( 'learn-press/order/item-visible', true, $item ) ) { $course = learn_press_get_course( $item['course_id'] ); if ( ! $course || ! $course->exists() ) { ?>
' . esc_html( $price ) . ''; ?>
%s', esc_url_raw( get_permalink( $item['course_id'] ) ), esc_html( $item['name'] ) ), $item, $order ); ?> get_regular_price_html(); if ( $course->has_sale_price() ) { echo '' . wp_kses_post( $origin_price ) . ''; } echo '' . wp_kses_post( $price ) . ''; ?>
get_formatted_order_subtotal() ); ?>
get_formatted_order_total() ); ?>

get_order_key() ); ?>

get_order_status_html() ); ?>