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.0.0
*/
namespace TUTOR;
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Tutor base class
*
* @since 1.0.0
*/
class Tutor_Base {
/**
* Course post type
*
* @since 1.0.0
*
* @var string
*/
public $course_post_type;
/**
* Lesson post type
*
* @since 1.0.0
*
* @var string
*/
public $lesson_post_type;
/**
* Lesson permalink
*
* @since 1.0.0
*
* @var string
*/
public $lesson_base_permalink;
/**
* Course base permalink
*
* @since 2.5.0
*
* @var string
*/
public $course_base_permalink;
/**
* Quiz permalink
*
* @since 2.6.0
*
* @var string
*/
public $quiz_base_permalink;
/**
* Assignment permalink
*
* @since 2.6.0
*
* @var string
*/
public $assignment_base_permalink;
/**
* Register hooks
*
* @since 1.0.0
*/
public function __construct() {
$this->course_post_type = tutor()->course_post_type;
$this->lesson_post_type = tutor()->lesson_post_type;
$this->course_base_permalink = tutor_utils()->get_option( 'course_permalink_base', 'courses' );
$this->lesson_base_permalink = tutor_utils()->get_option( 'lesson_permalink_base', 'lessons' );
$this->quiz_base_permalink = tutor_utils()->get_option( 'quiz_permalink_base', 'quizzes' );
$this->assignment_base_permalink = tutor_utils()->get_option( 'assignment_permalink_base', 'assignments' );
}
}