PluginProbe
Tutor LMS – eLearning and online course solution / 1.3.5
Tutor LMS – eLearning and online course solution v1.3.5
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.3.5, at classes/Tutor_Base.php

34 lines 615 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 if ( ! defined( 'ABSPATH' ) )
12 exit;
13
14 class Tutor_Base {
15
16 public $course_post_type;
17 public $lesson_post_type;
18
19 public $lesson_base_permalink;
20
21 public function __construct() {
22
23 $this->course_post_type = tutor()->course_post_type;
24 $this->lesson_post_type = tutor()->lesson_post_type;
25
26 //Lesson Permalink
27 $this->lesson_base_permalink = tutor_utils()->get_option('lesson_permalink_base');
28 if ( ! $this->lesson_base_permalink){
29 $this->lesson_base_permalink = $this->lesson_post_type;
30 }
31
32 }
33
34 }