HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: /var/www/html/triad-infosec/wp-content/themes/Avada/templates/revslider.php
<?php
/**
 * RevSlider template.
 *
 * @author     ThemeFusion
 * @copyright  (c) Copyright by ThemeFusion
 * @link       https://avada.com
 * @package    Avada
 * @subpackage Core
 * @since      5.1
 */

// Live editor Post Options rendering.
if ( wp_doing_ajax() ) {
	global $SR_GLOBALS;
	$SR_GLOBALS['loaded_by_editor'] = true;
}

if ( function_exists( 'add_revslider' ) ) {
	add_revslider( $name );
} elseif ( function_exists( 'rev_slider_shortcode' ) ) {
	echo do_shortcode( '[rev_slider alias="' . $name . '" /]' );
}

if ( wp_doing_ajax() ) {
	$SR_GLOBALS['loaded_by_editor'] = false;
}