MetaBox::course_builder()

Course Builder


Description

This method containing main logic and view files to create course

See also


Source

File: classes/MetaBox.php

	public function course_builder() {
		global $post;
		$this->fields = $this->get_default_fields();

		$settings_meta       = get_post_meta( get_the_ID(), '_dozent_course_settings', true );
		$this->settings_meta = (array) maybe_unserialize( $settings_meta );

		if ( dozent_count( $this->fields ) && $post->post_type === 'dozent_course' ) {
			include DOZENT_ABSPATH . "views/metabox/course_metabox.php";
		}
	}


Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.