name() ? $request->name() : __( 'there', 'returnkit' ) ) ) . "\n\n"; /* translators: 1: request number, 2: order number. */ echo esc_html( sprintf( __( 'Thanks, we\'ve received your return request %1$s for order #%2$s. We\'ll review it and email you as soon as it\'s approved, with instructions for sending the items back.', 'returnkit' ), $request->number(), $order ? $order->get_order_number() : '' ) ) . "\n\n"; wc_get_template( 'emails/plain/request-items.php', array( 'request' => $request ), 'woocommerce/returnkit/', RTKT_DIR . 'templates/' ); echo esc_html__( 'View your request:', 'returnkit' ) . ' ' . esc_url( $view_url ) . "\n\n"; if ( $additional_content ) { echo esc_html( wp_strip_all_tags( wptexturize( $additional_content ) ) ) . "\n\n"; } // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound -- WooCommerce's own hook. echo wp_kses_post( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );