/var/www/html_us/wp-content/plugins/revslider/includes/backwards.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php
/**
 * @author    ThemePunch <[email protected]>
 * @link      https://www.themepunch.com/
 * @copyright 2024 ThemePunch
 */
 
if(!defined('ABSPATH')) exit();

/**
 * backwards compatibility prior 6.0.0 code
 * @START
 **/

class RevSliderBase {
    
    public static function 
check_file_in_zip($d_path$image$alias$alreadyImported false){
        
$f RevSliderGlobals::instance()->get('RevSliderFunctions');
        
        return 
$f->check_file_in_zip($d_path$image$alias$alreadyImported$add_path false);
    }
}

class 
RevSliderFunctionsWP {
    public static function 
getImageUrlFromPath($url){
        
$f RevSliderGlobals::instance()->get('RevSliderFunctions');
        return 
$f->get_image_url_from_path($url);
    }
    
    public static function 
get_image_id_by_url($image_url){
        
$f RevSliderGlobals::instance()->get('RevSliderFunctions');
        return 
$f->get_image_id_by_url($image_url);
    }
}

class 
RevSliderOperations {
    public function 
getGeneralSettingsValues(){
        
$f RevSliderGlobals::instance()->get('RevSliderFunctions');
        return 
$f->get_global_settings();
    }
}

class 
RevSlider extends RevSliderSlider {
    public function 
__construct(){
        
//echo '<!-- Slider Revolution Notice: Please do not use the class "RevSlider" anymore, use "RevSliderSlider" instead -->'."\n";
    
}
}

class 
UniteFunctionsRev extends RevSliderFunctions {}

if(!
function_exists('set_revslider_as_theme')){
    function 
set_revslider_as_theme(){
    }
}

/**
 * backwards compatibility prior 6.0.0 code
 * @END
 **/