PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.8
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.8
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
← All changes | inc/admin/views/user/courses.php +24 -24 4.3.94.4.8 View file →
@@ -1,24 +1,24 @@
1 -<?php
2 -/**
3 - * HTML View for displaying courses user enrolled in wp profile.
4 - *
5 - * @author ThimPress
6 - * @package LearnPress/Views
7 - * @version 4.0.2
8 - */
9 -
10 -defined( 'ABSPATH' ) || die;
11 -
12 -if ( ! isset( $user_id ) ) {
13 - return;
14 -}
15 -
16 -$profile = LP_Profile::instance( $user_id );
17 -$user = $profile->get_user();
18 -$slug_profile_courses = LP_Settings::instance()->get( 'profile_endpoints.my-courses', 'my-courses' );
19 -$link_user_profile = $profile->get_tab_link( $slug_profile_courses );
20 -?>
21 -<p>
22 - <b><?php _e( 'The course list of enrolled users', 'learnpress' ); ?></b>
23 - <a href="<?php echo esc_url_raw( $link_user_profile ); ?>" target="_blank"><?php _e( 'View', 'learnpress' ); ?></a>
24 -</p>
1 +<?php
2 +/**
3 + * HTML View for displaying courses user enrolled in wp profile.
4 + *
5 + * @author ThimPress
6 + * @package LearnPress/Views
7 + * @version 4.0.2
8 + */
9 +
10 +defined( 'ABSPATH' ) || die;
11 +
12 +if ( ! isset( $user_id ) ) {
13 + return;
14 +}
15 +
16 +$profile = LP_Profile::instance( $user_id );
17 +$user = $profile->get_user();
18 +$slug_profile_courses = LP_Settings::instance()->get( 'profile_endpoints.my-courses', 'my-courses' );
19 +$link_user_profile = $profile->get_tab_link( $slug_profile_courses );
20 +?>
21 +<p>
22 + <b><?php _e( 'The course list of enrolled users', 'learnpress' ); ?></b>
23 + <a href="<?php echo esc_url_raw( $link_user_profile ); ?>" target="_blank"><?php _e( 'View', 'learnpress' ); ?></a>
24 +</p>