Uname: Linux premium72.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.2.29 [ PHP INFO ] PHP os: Linux
Server Ip: 198.54.125.95
Your Ip: 216.73.216.164
User: matican (532) | Group: matican (531)
Safe Mode: OFF
Disable Function:
NONE

name : revslider-lottie-addon.php
<?php
/*
Plugin Name: Slider Revolution Lottie AddOn
Plugin URI: http://www.themepunch.com/
Description: Add cool 2d animations directly from After Effects using lottie
Author: ThemePunch
Version: 6.7.2
Author URI: http://themepunch.com
*/

// If this file is called directly, abort.
if(!defined('WPINC')) die;

define('RS_LOTTIE_PLUGIN_PATH', plugin_dir_path(__FILE__));
define('RS_LOTTIE_PLUGIN_URL', str_replace('index.php', '', plugins_url( 'index.php', __FILE__)));
define('RS_LOTTIE_REVISION', '6.7.2');

require_once(RS_LOTTIE_PLUGIN_PATH . 'includes/base.class.php');

/**
* handle everyting by calling the following function *
**/
function rs_lottie_init(){

	new RsLottieBase();
	
}

/**
* call all needed functions on plugins loaded *
**/
add_action('plugins_loaded', 'rs_lottie_init');
register_activation_hook( __FILE__, 'rs_lottie_init');

//build js global var for activation
add_filter( 'revslider_activate_addon', array('RsAddOnLottieBase','get_data'),10,2);

// get help definitions on-demand.  merges AddOn definitions with core revslider definitions
add_filter( 'revslider_help_directory', array('RsAddOnLottieBase','get_help'),10,1);

?>
© 2025 XylotrechusZ