C:\xampp\htdocs\landing\wp-content\plugins\js_composer\config\deprecated\shortcode-vc-button.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?php
if ( ! defined'ABSPATH' ) ) {
    die( 
'-1' );
}

$colors_arr vc_colors_arr();
$size_arr vc_size_arr();
$icons_arr vc_icons_arr();
return array(
    
'name' => esc_html__'Old Button''js_composer' ) . ' 1',
    
'base' => 'vc_button',
    
'icon' => 'icon-wpb-ui-button',
    
'category' => esc_html__'Content''js_composer' ),
    
'deprecated' => '4.5',
    
'content_element' => false,
    
'description' => esc_html__'Eye catching button''js_composer' ),
    
'params' => array(
        array(
            
'type' => 'textfield',
            
'heading' => esc_html__'Text''js_composer' ),
            
'holder' => 'button',
            
'class' => 'wpb_button',
            
'param_name' => 'title',
            
'value' => esc_html__'Text on the button''js_composer' ),
            
'description' => esc_html__'Enter text on the button.''js_composer' ),
        ),
        array(
            
'type' => 'href',
            
'heading' => esc_html__'URL (Link)''js_composer' ),
            
'param_name' => 'href',
            
'description' => esc_html__'Enter button link.''js_composer' ),
        ),
        array(
            
'type' => 'dropdown',
            
'heading' => esc_html__'Target''js_composer' ),
            
'param_name' => 'target',
            
'value' => vc_target_param_list(),
            
'dependency' => array(
                
'element' => 'href',
                
'not_empty' => true,
                
'callback' => 'vc_button_param_target_callback',
            ),
        ),
        array(
            
'type' => 'dropdown',
            
'heading' => esc_html__'Color''js_composer' ),
            
'param_name' => 'color',
            
'value' => $colors_arr,
            
'description' => esc_html__'Select button color.''js_composer' ),
            
'param_holder_class' => 'vc_colored-dropdown',
        ),
        array(
            
'type' => 'dropdown',
            
'heading' => esc_html__'Icon''js_composer' ),
            
'param_name' => 'icon',
            
'value' => $icons_arr,
            
'description' => esc_html__'Select icon to display on button.''js_composer' ),
        ),
        array(
            
'type' => 'dropdown',
            
'heading' => esc_html__'Size''js_composer' ),
            
'param_name' => 'size',
            
'value' => $size_arr,
            
'description' => esc_html__'Select button size.''js_composer' ),
        ),
        array(
            
'type' => 'textfield',
            
'heading' => esc_html__'Extra class name''js_composer' ),
            
'param_name' => 'el_class',
            
'description' => esc_html__'Style particular content element differently - add a class name and refer to it in custom CSS.''js_composer' ),
        ),
    ),
    
'js_view' => 'VcButtonView',
);
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586