| Server IP : 38.190.208.107 / Your IP : 216.73.217.46 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.3/wp-content/plugins/js_composer/config/deprecated/ |
Upload File : |
<?php
/**
* Configuration file for [vc_button] shortcode of 'Old Button' element.
*
* @see https://kb.wpbakery.com/docs/inner-api/vc_map/ for more detailed information about element attributes.
* @depreacted 4.5
*/
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
$colors_arr = vc_colors_arr();
$size_arr = vc_size_arr();
$icons_arr = vc_icons_arr();
return [
'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' => [
[
'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' ),
],
[
'type' => 'href',
'heading' => esc_html__( 'URL (Link)', 'js_composer' ),
'param_name' => 'href',
'description' => esc_html__( 'Enter button link.', 'js_composer' ),
],
[
'type' => 'dropdown',
'heading' => esc_html__( 'Target', 'js_composer' ),
'param_name' => 'target',
'value' => vc_target_param_list(),
'dependency' => [
'element' => 'href',
'not_empty' => true,
'callback' => 'vc_button_param_target_callback',
],
],
[
'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',
],
[
'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' ),
],
[
'type' => 'dropdown',
'heading' => esc_html__( 'Size', 'js_composer' ),
'param_name' => 'size',
'value' => $size_arr,
'description' => esc_html__( 'Select button size.', 'js_composer' ),
],
[
'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',
];