File: //proc/self/root/proc/self/cwd/wp-content/themes/consultio/elementor/core/register/ct_showcase.php
<?php
// Register Banner Box Widget
ct_add_custom_widget(
array(
'name' => 'ct_showcase',
'title' => esc_html__('Case Showcase', 'consultio' ),
'icon' => 'eicon-gallery-grid',
'categories' => array( Case_Theme_Core::CT_CATEGORY_NAME ),
'scripts' => array(
),
'params' => array(
'sections' => array(
array(
'name' => 'content_section',
'label' => esc_html__('Showcase', 'consultio' ),
'tab' => \Elementor\Controls_Manager::TAB_CONTENT,
'controls' => array(
array(
'name' => 'image',
'label' => esc_html__('Image', 'consultio' ),
'type' => \Elementor\Controls_Manager::MEDIA,
),
array(
'name' => 'title',
'label' => esc_html__('Title', 'consultio' ),
'type' => \Elementor\Controls_Manager::TEXT,
),
array(
'name' => 'label',
'label' => esc_html__('Label', 'consultio' ),
'type' => \Elementor\Controls_Manager::TEXT,
),
array(
'name' => 'btn_text',
'label' => esc_html__('Button Text', 'consultio' ),
'type' => \Elementor\Controls_Manager::TEXT,
),
array(
'name' => 'button_link',
'label' => esc_html__('Button Link', 'consultio' ),
'type' => \Elementor\Controls_Manager::URL,
'default' => [
'url' => '#',
],
),
array(
'name' => 'ct_animate',
'label' => esc_html__('Case Animate', 'consultio' ),
'type' => \Elementor\Controls_Manager::SELECT,
'options' => consultio_animate(),
'default' => '',
),
),
),
),
),
),
get_template_directory() . '/elementor/core/widgets/'
);