PATH:
home
/
lab2454c
/
equitablegold.com
/
wp-content
/
plugins
/
elementor
/
includes
/
widgets
<?php namespace Elementor; use Elementor\Includes\Widgets\Traits\Button_Trait; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } /** * Elementor button widget. * * Elementor widget that displays a button with the ability to control every * aspect of the button design. * * @since 1.0.0 */ class Widget_Button extends Widget_Base { use Button_Trait; /** * Get widget name. * * Retrieve button widget name. * * @since 1.0.0 * @access public * * @return string Widget name. */ public function get_name() { return 'button'; } /** * Get widget title. * * Retrieve button widget title. * * @since 1.0.0 * @access public * * @return string Widget title. */ public function get_title() { return esc_html__( 'Button', 'elementor' ); } /** * Get widget icon. * * Retrieve button widget icon. * * @since 1.0.0 * @access public * * @return string Widget icon. */ public function get_icon() { return 'eicon-button'; } /** * Get widget categories. * * Retrieve the list of categories the button widget belongs to. * * Used to determine where to display the widget in the editor. * * @since 2.0.0 * @access public * * @return array Widget categories. */ public function get_categories() { return [ 'basic' ]; } protected function register_controls() { $this->start_controls_section( 'section_button', [ 'label' => esc_html__( 'Button', 'elementor' ), ] ); $this->register_button_content_controls(); $this->end_controls_section(); $this->start_controls_section( 'section_style', [ 'label' => esc_html__( 'Button', 'elementor' ), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->register_button_style_controls(); $this->end_controls_section(); } /** * Render button widget output on the frontend. * * Written in PHP and used to generate the final HTML. * * @since 1.0.0 * @access protected */ protected function render() { $this->render_button(); } protected function get_upsale_data() { return [ 'title' => esc_html__( 'Convert visitors into customers', 'elementor' ), 'description' => esc_html__( 'Get the Call to Action widget and grow your toolbox with Elementor Pro.', 'elementor' ), 'upgrade_url' => esc_url( 'https://go.elementor.com/go-pro-button-widget/' ), ]; } }
[-] rating.php
[edit]
[-] star-rating.php
[edit]
[-] icon.php
[edit]
[-] icon-box.php
[edit]
[-] wordpress.php
[edit]
[-] tabs.php
[edit]
[-] spacer.php
[edit]
[+]
..
[-] sidebar.php
[edit]
[-] video.php
[edit]
[-] button.php
[edit]
[-] text-editor.php
[edit]
[-] common.php
[edit]
[-] icon-list.php
[edit]
[+]
traits
[-] inner-section.php
[edit]
[-] testimonial.php
[edit]
[-] counter.php
[edit]
[-] audio.php
[edit]
[-] accordion.php
[edit]
[-] google-maps.php
[edit]
[-] image-box.php
[edit]
[-] social-icons.php
[edit]
[-] shortcode.php
[edit]
[-] progress.php
[edit]
[-] html.php
[edit]
[-] image-carousel.php
[edit]
[-] read-more.php
[edit]
[-] toggle.php
[edit]
[-] image-gallery.php
[edit]
[-] divider.php
[edit]
[-] menu-anchor.php
[edit]
[-] heading.php
[edit]
[-] image.php
[edit]
[-] alert.php
[edit]