# learnpress/4.4.10/templates/profile/tabs/orders/recover-my-order.php

LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, version 4.4.10. 28 lines.

- Page: https://pluginprobe.com/plugins/learnpress/4.4.10/code/templates/profile/tabs/orders/recover-my-order.php
- Raw: https://pluginprobe.com/plugins/learnpress/4.4.10/raw/templates/profile/tabs/orders/recover-my-order.php
- Modified: 2026-10-09T07:39:42+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/learnpress/4.4.10/code/templates/profile/tabs/orders/recover-my-order.php#L10-L20`.

```php
<?php
/**
 * Template for displaying form allow user get back their order by the key in user profile page.
 *
 * This template can be overridden by copying it to yourtheme/learnpress/orders/recover-my-order.php.
 *
 * @author  ThimPress
 * @package  Learnpress/Templates
 * @version  3.0.0
 */

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

<?php if ( isset( $order ) && is_a( $order, 'LP_Order' ) ) : ?>
	<?php if ( $order->is_guest() ) : ?>
		<div class="profile-recover-order">
			<p><?php esc_html_e( 'This order was checked out by you but there is no user was assigned to.' ); ?></p>
			<p><?php esc_html_e( 'If the order is made for another one, you can send the code below to them.' ); ?></p>
			<p><?php esc_html_e( 'If the order is made for yourself, you can assign it to you here.' ); ?></p>
			<?php learn_press_get_template( 'order/recover-form.php', array( 'order' => $order ) ); ?>
		</div>

		<?php
	endif;
endif;


```
