HEX
Server: LiteSpeed
System: Linux l24.yourwebhosting.net 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User: turkishi (1582)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //home/turkishi/www/wp-content/plugins/learnpress/templates/profile/tabs/orders/order-message.php
<?php
/**
 * @author  ThimPress
 * @package LearnPress/Templates
 * @version 4.0.0
 * @deprecated 4.2.6.4
 */
return;

defined( 'ABSPATH' ) || exit();

if ( ! isset( $order ) ) {
	return;
}

$profile = LP_Profile::instance();
?>

<?php if ( $order->get_user_id() != get_current_user_id() ) : ?>
	<p><?php printf( __( 'This order is paid for %s', 'learnpress' ), $order->get_user_email() ); ?></p>
<?php else : ?>
	<?php $checkout_email = $order->get_checkout_email(); ?>
	<?php if ( $checkout_email && $checkout_email != $profile->get_user()->get_email() ) : ?>
		<p><?php printf( __( 'This order is paid by %s', 'learnpress' ), $order->get_checkout_email() ); ?></p>
	<?php endif; ?>
<?php endif; ?>