Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 107

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 234

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 235

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 236

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 237

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 238

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 239
* @link https://themeum.com * @since 1.4.3 */ use Tutor\Models\CourseModel; use Tutor\Models\WithdrawModel; if ( tutor_utils()->get_option( 'enable_profile_completion' ) ) { $profile_completion = tutor_utils()->user_profile_completion(); $is_instructor = tutor_utils()->is_instructor( null, true ); $total_count = count( $profile_completion ); $incomplete_count = count( array_filter( $profile_completion, function( $data ) { return ! $data['is_set']; } ) ); $complete_count = $total_count - $incomplete_count; if ( $is_instructor ) { if ( isset( $total_count ) && isset( $incomplete_count ) && $incomplete_count <= $total_count ) { ?>
( $total_count / 2 ) && $complete_count < $total_count ) { $profile_complete_text = __( 'You are almost done', 'tutor' ); } elseif ( $complete_count === $total_count ) { $profile_complete_text = __( 'Thanks for completing your profile', 'tutor' ); } $profile_complete_status = $profile_complete_text; ?> :
get_option( 'monetize_by' ); foreach ( $profile_completion as $key => $data ) { if ( '_tutor_withdraw_method_data' === $key ) { if ( 'free' === $monetize_by ) { continue; } } $is_set = $data['is_set']; // Whether the step is done or not. ?>
%s
' . __( 'Click Here', 'tutor' ) . '
', $profile_completion['_tutor_profile_photo']['text'], tutor_utils()->tutor_dashboard_url( 'settings' ) ); echo $alert_message; //phpcs:ignore } } } ?>
get_enrolled_courses_by_user(); $completed_courses = tutor_utils()->get_completed_courses_ids_by_user(); $total_students = tutor_utils()->get_total_students_by_instructor( $user_id ); $my_courses = CourseModel::get_courses_by_instructor( $user_id, CourseModel::STATUS_PUBLISH ); $earning_sum = WithdrawModel::get_withdraw_summary( $user_id ); $active_courses = tutor_utils()->get_active_courses_by_user( $user_id ); $enrolled_course_count = $enrolled_course ? $enrolled_course->post_count : 0; $completed_course_count = count( $completed_courses ); $active_course_count = is_object( $active_courses ) && $active_courses->have_posts() ? $active_courses->post_count : 0; $status_translations = array( 'publish' => __( 'Published', 'tutor' ), 'pending' => __( 'Pending', 'tutor' ), 'trash' => __( 'Trash', 'tutor' ), ); ?>
instructor_role ) ) : ?>
tutor_price( $earning_sum->total_income ) ); ?>
tutor_price( $earning_sum->total_income ) ); ?>
url . 'assets/images/placeholder.svg'; $courses_in_progress = tutor_utils()->get_active_courses_by_user( get_current_user_id() ); ?> have_posts() ) : ?>
have_posts() ) : $courses_in_progress->the_post(); $tutor_course_img = get_tutor_course_thumbnail_src(); $course_rating = tutor_utils()->get_course_rating( get_the_ID() ); $course_progress = tutor_utils()->get_course_completed_percent( get_the_ID(), 0, true ); $completed_number = 0 === (int) $course_progress['completed_count'] ? 1 : (int) $course_progress['completed_count']; ?>
<?php the_title(); ?>
star_rating_generator( $course_rating->rating_avg ); ?>
rating_avg, 2 ) ); ?>
get_courses_for_instructors( get_current_user_id() ); if ( count( $instructor_course ) ) { $course_badges = array( 'publish' => 'success', 'pending' => 'warning', 'trash' => 'danger', ); ?>
count_enrolled_users_by_course( $course->ID ); $course_status = isset( $status_translations[ $course->post_status ] ) ? $status_translations[ $course->post_status ] : __( $course->post_status, 'tutor' ); //phpcs:ignore $course_rating = tutor_utils()->get_course_rating( $course->ID ); $course_badge = isset( $course_badges[ $course->post_status ] ) ? $course_badges[ $course->post_status ] : 'dark'; ?>