has_status( 'failed' ) ) : ?>

get_items( apply_filters( 'woocommerce_purchase_order_item_types', 'line_item' ) ); if ( ! empty( $order_items ) ) : $products_visible = false; if ( count( $order_items ) <= 1 ) : foreach ( $order_items as $order_item ) : $product = apply_filters( 'woocommerce_order_item_product', $order_item->get_product(), $order_item ); $is_visible = $product && $product->is_visible(); if ( $is_visible ) : $post_types = array( apply_filters( 'stm_listings_post_type', 'listings' ) ); if ( stm_is_multilisting() ) { $slugs = STMMultiListing::stm_get_listing_type_slugs(); if ( ! empty( $slugs ) ) { $post_types = array_merge( $post_types, $slugs ); } } $products_visible = $is_visible && ( in_array( get_post_type( $product->get_id() ), $post_types, true ) ); $product_permalink = apply_filters( 'woocommerce_order_item_permalink', $is_visible ? $product->get_permalink( $order_item ) : '', $order_item, $order ); if ( $products_visible ) : ?>

get_payment_method(), $order->get_id() ); } ?>
get_id() ); ?>
get_id() ); ?>