PluginProbe
Tutor LMS – eLearning and online course solution / 1.0.7
Tutor LMS – eLearning and online course solution v1.0.7
4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 4.0.0 3.9.15 3.9.14 3.9.13 3.9.12 3.9.11 trunk 1.0.0 1.0.0-alpha 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 All 191 releases
tutor / classes / Tutor_Base.php

Tutor_Base.php in Tutor LMS – eLearning and online course solution 1.0.7, at classes/Tutor_Base.php

32 lines 578 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Created by PhpStorm.
4 * User: mhshohel
5 * Date: 17/9/18
6 * Time: 1:33 PM
7 */
8
9 namespace TUTOR;
10
11
12 class Tutor_Base {
13
14 public $course_post_type;
15 public $lesson_post_type;
16
17 public $lesson_base_permalink;
18
19 public function __construct() {
20
21 $this->course_post_type = tutor()->course_post_type;
22 $this->lesson_post_type = tutor()->lesson_post_type;
23
24 //Lesson Permalink
25 $this->lesson_base_permalink = tutor_utils()->get_option('lesson_permalink_base');
26 if ( ! $this->lesson_base_permalink){
27 $this->lesson_base_permalink = $this->lesson_post_type;
28 }
29
30 }
31
32 }