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
$path,
'url' => plugin_dir_url( TUTOR_FILE ),
'icon_dir' => plugin_dir_url( TUTOR_FILE ) . 'assets/images/images-v2/icons/',
'v2_img_dir' => plugin_dir_url( TUTOR_FILE ) . 'assets/images/images-v2/',
'current_url' => $current_url,
'basename' => plugin_basename( TUTOR_FILE ),
'basepath' => $base_path,
'version' => TUTOR_VERSION,
'nonce_action' => 'tutor_nonce_action',
'nonce' => '_tutor_nonce',
'course_post_type' => apply_filters( 'tutor_course_post_type', 'courses' ),
'bundle_post_type' => apply_filters( 'tutor_bundle_post_type', 'course-bundle' ),
'lesson_post_type' => apply_filters( 'tutor_lesson_post_type', 'lesson' ),
'instructor_role' => apply_filters( 'tutor_instructor_role', 'tutor_instructor' ),
'instructor_role_name' => apply_filters( 'tutor_instructor_role_name', __( 'Tutor Instructor', 'tutor' ) ),
'template_path' => apply_filters( 'tutor_template_path', 'tutor/' ),
'has_pro' => apply_filters( 'tutor_has_pro', $has_pro ),
// @since v2.0.6.
'topics_post_type' => apply_filters( 'tutor_topics_post_type', 'topics' ),
'announcement_post_type' => apply_filters( 'tutor_announcement_post_type', 'tutor_announcements' ),
'assignment_post_type' => apply_filters( 'tutor_assignment_post_type', 'tutor_assignments' ),
'enrollment_post_type' => apply_filters( 'tutor_enrollment_post_type', 'tutor_enrolled' ),
'quiz_post_type' => apply_filters( 'tutor_quiz_post_type', 'tutor_quiz' ),
'zoom_post_type' => apply_filters( 'tutor_zoom_meeting_post_type', 'tutor_zoom_meeting' ),
'meet_post_type' => apply_filters( 'tutor_google_meeting_post_type', 'tutor-google-meet' ),
);
$GLOBALS['tutor_plugin_info'] = (object) $info;
return $GLOBALS['tutor_plugin_info'];
}
}
if ( ! class_exists( 'Tutor' ) ) {
include_once 'classes/Tutor.php';
}
/**
* Get all helper functions/methods
*
* @return \TUTOR\Utils
*/
if ( ! class_exists( '\TUTOR\Utils' ) ) {
include_once 'classes/Utils.php';
}
if ( ! function_exists( 'tutor_utils' ) ) {
/**
* Access tutor utils functions
*
* @since 1.0.0
*
* @return \TUTOR\Utils
*/
function tutor_utils() {
if ( ! isset( $GLOBALS['tutor_utils_object'] ) ) {
// Use runtime cache.
$GLOBALS['tutor_utils_object'] = new \TUTOR\Utils();
}
return $GLOBALS['tutor_utils_object'];
}
}
if ( ! function_exists( 'tutils' ) ) {
/**
* Alis of tutor_utils()
*
* @since 1.3.4
*
* @return \TUTOR\Utils
*/
function tutils() {
return tutor_utils();
}
}
/**
* Do some task during activation
*
* @since 1.5.2
*
* @since 2.6.2
*
* Uninstall hook registered
*/
register_activation_hook( TUTOR_FILE, array( '\TUTOR\Tutor', 'tutor_activate' ) );
register_deactivation_hook( TUTOR_FILE, array( '\TUTOR\Tutor', 'tutor_deactivation' ) );
register_uninstall_hook( TUTOR_FILE, array( '\TUTOR\Tutor', 'tutor_uninstall' ) );
if ( ! function_exists( 'tutor_lms' ) ) {
/**
* Run main instance of the Tutor
*
* @since 1.2.0
*
* @return null|\TUTOR\Tutor
*/
function tutor_lms() {
return \TUTOR\Tutor::instance();
}
}
if ( ! function_exists( 'str_contains' ) ) {
/**
* String helper for str contains
*
* @since 1.0.0
*
* @param string $haystack haystack.
* @param string $needle needle.
*
* @return bool
*/
function str_contains( string $haystack, string $needle ) {
return empty( $needle ) || strpos( $haystack, $needle ) !== false;
}
}
$GLOBALS['tutor'] = tutor_lms();