PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.9
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.9
4.4.9 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 All 140 releases
← All changes | templates/checkout/account-logged-in.php +35 -35 4.3.9 → 4.4.9 View file →
@@ -1,35 +1,35 @@
1 -<?php
2 -/**
3 - * Template for displaying logged in form.
4 - *
5 - * This template can be overridden by copying it to yourtheme/learnpress/checkout/form-logged-in.php.
6 - *
7 - * @author ThimPress
8 - * @package Learnpress/Templates
9 - * @version 4.0.1
10 - */
11 -
12 -defined( 'ABSPATH' ) || exit();
13 -
14 -if ( ! is_user_logged_in() ) {
15 - return;
16 -}
17 -
18 -global $user_identity;
19 -?>
20 -
21 -<div id="checkout-account-logged-in" class="lp-checkout-block left">
22 - <p>
23 - <?php
24 - printf(
25 - __( 'Logged in as <a href="%1$s">%2$s</a>.', 'learnpress' ),
26 - LP_Page_Controller::get_link_page( 'profile' ),
27 - $user_identity
28 - );
29 - ?>
30 -
31 - <a href="<?php echo esc_url_raw( wp_logout_url( get_permalink() ) ); ?>" title="<?php esc_attr_e( 'Log out of this account', 'learnpress' ); ?>">
32 - <?php esc_html_e( 'Log out &raquo;', 'learnpress' ); ?>
33 - </a>
34 - </p>
35 -</div>
1 +<?php
2 +/**
3 + * Template for displaying logged in form.
4 + *
5 + * This template can be overridden by copying it to yourtheme/learnpress/checkout/form-logged-in.php.
6 + *
7 + * @author ThimPress
8 + * @package Learnpress/Templates
9 + * @version 4.0.1
10 + */
11 +
12 +defined( 'ABSPATH' ) || exit();
13 +
14 +if ( ! is_user_logged_in() ) {
15 + return;
16 +}
17 +
18 +global $user_identity;
19 +?>
20 +
21 +<div id="checkout-account-logged-in" class="lp-checkout-block left">
22 + <p>
23 + <?php
24 + printf(
25 + __( 'Logged in as <a href="%1$s">%2$s</a>.', 'learnpress' ),
26 + LP_Page_Controller::get_link_page( 'profile' ),
27 + $user_identity
28 + );
29 + ?>
30 +
31 + <a href="<?php echo esc_url_raw( wp_logout_url( get_permalink() ) ); ?>" title="<?php esc_attr_e( 'Log out of this account', 'learnpress' ); ?>">
32 + <?php esc_html_e( 'Log out &raquo;', 'learnpress' ); ?>
33 + </a>
34 + </p>
35 +</div>