PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.7
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.7
4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 4.1.7.3.2 4.2.0 All 139 releases
learnpress / templates / profile / tabs / orders / recover-my-order.php

recover-my-order.php in LearnPress – WordPress LMS Plugin for Create and Sell Online Courses 4.4.7, at templates/profile/tabs/orders/recover-my-order.php

28 lines 920 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Template for displaying form allow user get back their order by the key in user profile page.
4 *
5 * This template can be overridden by copying it to yourtheme/learnpress/orders/recover-my-order.php.
6 *
7 * @author ThimPress
8 * @package Learnpress/Templates
9 * @version 3.0.0
10 */
11
12 defined( 'ABSPATH' ) || exit();
13 ?>
14
15 <?php if ( isset( $order ) && is_a( $order, 'LP_Order' ) ) : ?>
16 <?php if ( $order->is_guest() ) : ?>
17 <div class="profile-recover-order">
18 <p><?php esc_html_e( 'This order was checked out by you but there is no user was assigned to.' ); ?></p>
19 <p><?php esc_html_e( 'If the order is made for another one, you can send the code below to them.' ); ?></p>
20 <p><?php esc_html_e( 'If the order is made for yourself, you can assign it to you here.' ); ?></p>
21 <?php learn_press_get_template( 'order/recover-form.php', array( 'order' => $order ) ); ?>
22 </div>
23
24 <?php
25 endif;
26 endif;
27
28