| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/aecm.ihu.gr/wp-content/plugins/learnpress/inc/admin/views/user/ |
Upload File : |
<?php
/**
* HTML View for displaying courses user enrolled in wp profile.
*
* @author ThimPress
* @package LearnPress/Views
* @version 4.0.1
*/
defined( 'ABSPATH' ) || die;
if ( ! isset( $user_id ) ) {
return;
}
$profile = LP_Profile::instance( $user_id );
$user = $profile->get_user();
$slug_profile_courses = LP_Settings::instance()->get( 'profile_endpoints.my-courses', 'my-courses' );
$link_user_profile = learn_press_user_profile_link( $user_id ) . $slug_profile_courses;
?>
<p>
<b><?php _e( 'The course list of enrolled users', 'learnpress' ); ?></b>
<a href="<?php echo esc_url_raw( $link_user_profile ); ?>" target="_blank"><?php _e( 'View', 'learnpress' ); ?></a>
</p>