403Webshell
Server IP : 38.190.208.107  /  Your IP : 216.73.217.21
Web Server : nginx/1.28.1
System : Linux ht2026040333114 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64
User : root ( 0)
PHP Version : 8.2.28
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv,eval,assert,passthru,system,exec,shell_exec,popen,proc_open
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /www/wwwroot/wp.5/wp-content/themes/woodmart/inc/integrations/visual-composer/maps/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wwwroot/wp.5/wp-content/themes/woodmart/inc/integrations/visual-composer/maps/slider.php
<?php if ( ! defined( 'WOODMART_THEME_DIR' ) ) {
	exit( 'No direct script access allowed' );}
/**
* ------------------------------------------------------------------------------------------------
* WoodMart slider element map
* ------------------------------------------------------------------------------------------------
*/

if ( ! function_exists( 'woodmart_get_vc_map_slider' ) ) {
	function woodmart_get_vc_map_slider() {
		return array(
			'name'        => esc_html__( 'Slider', 'woodmart' ),
			'base'        => 'woodmart_slider',
			'category'    => woodmart_get_tab_title_category_for_wpb( esc_html__( 'Theme elements', 'woodmart' ) ),
			'description' => esc_html__( 'WoodMart theme slider', 'woodmart' ),
			'icon'        => WOODMART_ASSETS . '/images/vc-icon/slider.svg',
			'params'      => array(
				array(
					'type'       => 'woodmart_dropdown',
					'heading'    => esc_html__( 'Slider', 'woodmart' ),
					'param_name' => 'slider',
					'callback'   => 'woodmart_get_sliders_for_vc',
				),
				array(
					'type'             => 'woodmart_button_set',
					'heading'          => esc_html__( 'Synchronization', 'woodmart' ),
					'param_name'       => 'carousel_sync',
					'value'            => array(
						esc_html__( 'Disabled', 'woodmart' )  => '',
						esc_html__( 'As parent', 'woodmart' ) => 'parent',
						esc_html__( 'As child', 'woodmart' )  => 'child',
					),
					'edit_field_class' => 'vc_col-sm-6 vc_column',
				),
				array(
					'type'             => 'textfield',
					'heading'          => esc_html__( 'ID', 'woodmart' ),
					'param_name'       => 'sync_parent_id',
					'std'              => 'wd_' . uniqid(),
					'save_always'      => true,
					'wd_dependency'    => array(
						'element' => 'carousel_sync',
						'value'   => array( 'parent' ),
					),
					'edit_field_class' => 'vc_col-sm-6 vc_column',
				),
				array(
					'type'             => 'textfield',
					'heading'          => esc_html__( 'ID', 'woodmart' ),
					'param_name'       => 'sync_child_id',
					'wd_dependency'    => array(
						'element' => 'carousel_sync',
						'value'   => array( 'child' ),
					),
					'edit_field_class' => 'vc_col-sm-6 vc_column',
				),
				array(
					'type'       => 'textfield',
					'heading'    => esc_html__( 'Extra class name', 'woodmart' ),
					'param_name' => 'el_class',
					'hint'       => esc_html__( 'If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'woodmart' ),
				),
			),
		);
	}
}

if ( ! function_exists( 'woodmart_get_sliders_for_vc' ) ) {
	function woodmart_get_sliders_for_vc() {
		$args    = array(
			'taxonomy'   => 'woodmart_slider',
			'hide_empty' => false,
		);
		$sliders = get_terms( $args );

		if ( is_wp_error( $sliders ) || empty( $sliders ) ) {
			return array();
		}

		$data = array();

		foreach ( $sliders as $slider ) {
			$data[ $slider->name ] = $slider->slug;
		}

		return $data;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit