PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/footcrew.com/wp-content/plugins/apus-themer/vendors/kingcomposer/maps/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/footcrew.com/wp-content/plugins/apus-themer/vendors/kingcomposer/maps/revslider.php

<?php

add_action('init', 'apus_themer_revslider_kingcomposer_map', 99 );
function apus_themer_revslider_kingcomposer_map() {
	global $kc;
    $disable = apply_filters( 'apus_themer_revslider_kingcomposer_map_disable', false );
    if ($disable) {
        return;
    }
    if (!class_exists('RevSlider')) {
        return;
    }
	
    $revsliders = array();
    if (is_admin()) {
        $slider = new RevSlider();
        $arrSliders = $slider->getArrSliders();
        if ( $arrSliders ) {
            foreach ( $arrSliders as $slider ) {
                /** @var $slider RevSlider */
                $revsliders[ $slider->getAlias() ] = $slider->getTitle();
            }
        } else {
            $revsliders[ 0 ] = esc_html__( 'No sliders found', 'apus-themer' );
        }
    }
    
	$kc->add_map( array('element_revslider' => apply_filters( 'apus_themer_kingcomposer_map_revslider', array(
        'name' => esc_html__( 'Revolution Slider', 'apus-themer' ),
        'description' => esc_html__('Display Revolution Slider in frontend', 'apus-themer'),
        'icon' => 'sl-paper-plane',
        'category' => 'Elements',
        'params' => array(
            array(
                'name' => 'alias',
                'label' => esc_html__( 'Revolution Slider' , 'apus-themer' ),
                'type' => 'select',
                'admin_label' => true,
                'options' => $revsliders
            ),
            array(
                'name' => 'exclass',
                'label' => esc_html__( 'Extra Class' , 'apus-themer' ),
                'type' => 'text',
                'admin_label' => true
            ),
        )
    ))));

}