| @@ -1,22 +1,22 @@ | ||
| 1 | -<?php | |
| 2 | -/** | |
| 3 | - * Template for displaying user form. | |
| 4 | - * | |
| 5 | - * Note: Use only LP3. In LP4 will remove, show don't use in LP4. | |
| 6 | - * | |
| 7 | - * @author ThimPress | |
| 8 | - * @package Learnpress/Templates | |
| 9 | - * @version 4.0.0 | |
| 10 | - */ | |
| 11 | - | |
| 12 | -defined( 'ABSPATH' ) || exit(); | |
| 13 | - | |
| 14 | -if ( is_user_logged_in() ) { | |
| 15 | - return; | |
| 16 | -} | |
| 17 | -?> | |
| 18 | - | |
| 19 | -<div id="learn-press-checkout-user-form"> | |
| 20 | - <?php do_action( 'learn_press_checkout_user_form' ); ?> | |
| 21 | - <div class="clearfix"></div> | |
| 22 | -</div> | |
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * Template for displaying user form. | |
| 4 | + * | |
| 5 | + * Note: Use only LP3. In LP4 will remove, show don't use in LP4. | |
| 6 | + * | |
| 7 | + * @author ThimPress | |
| 8 | + * @package Learnpress/Templates | |
| 9 | + * @version 4.0.0 | |
| 10 | + */ | |
| 11 | + | |
| 12 | +defined( 'ABSPATH' ) || exit(); | |
| 13 | + | |
| 14 | +if ( is_user_logged_in() ) { | |
| 15 | + return; | |
| 16 | +} | |
| 17 | +?> | |
| 18 | + | |
| 19 | +<div id="learn-press-checkout-user-form"> | |
| 20 | + <?php do_action( 'learn_press_checkout_user_form' ); ?> | |
| 21 | + <div class="clearfix"></div> | |
| 22 | +</div> | |