X7ROOT File Manager
Current Path:
/home/hamdjcne/public_html/wp-content/plugins/elementor/includes/widgets
home
/
hamdjcne
/
public_html
/
wp-content
/
plugins
/
elementor
/
includes
/
widgets
/
ðŸ“
..
📄
accordion.php
(19.31 KB)
📄
alert.php
(13.07 KB)
📄
audio.php
(7.25 KB)
📄
button.php
(2.71 KB)
📄
common.php
(28.28 KB)
📄
counter.php
(16.81 KB)
📄
divider.php
(32.81 KB)
📄
google-maps.php
(6.39 KB)
📄
heading.php
(9.95 KB)
📄
html.php
(2.42 KB)
📄
icon-box.php
(20.87 KB)
📄
icon-list.php
(21.87 KB)
📄
icon.php
(12.36 KB)
📄
image-box.php
(17.25 KB)
📄
image-carousel.php
(26.26 KB)
📄
image-gallery.php
(10.52 KB)
📄
image.php
(18.87 KB)
📄
inner-section.php
(848 B)
📄
menu-anchor.php
(3.48 KB)
📄
progress.php
(11.76 KB)
📄
rating.php
(7.26 KB)
📄
read-more.php
(3.1 KB)
📄
share-buttons.php
(601 B)
📄
shortcode.php
(3.19 KB)
📄
sidebar.php
(2.91 KB)
📄
social-icons.php
(15.76 KB)
📄
spacer.php
(3.18 KB)
📄
star-rating.php
(12.85 KB)
📄
tabs.php
(16.21 KB)
📄
testimonial.php
(16.79 KB)
📄
text-editor.php
(11.97 KB)
📄
toggle.php
(19.47 KB)
ðŸ“
traits
📄
video.php
(33.81 KB)
📄
wordpress.php
(6.89 KB)
Editing: button.php
<?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' ]; } /** * Get widget upsale data. * * Retrieve the widget promotion data. * * @since 3.19.0 * @access protected * * @return array Widget promotion data. */ protected function get_upsale_data() { return [ 'condition' => ! Utils::has_pro(), 'image' => esc_url( ELEMENTOR_ASSETS_URL . 'images/go-pro.svg' ), 'image_alt' => esc_attr__( 'Upgrade', 'elementor' ), '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/' ), 'upgrade_text' => esc_html__( 'Upgrade Now', 'elementor' ), ]; } 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(); } }
Upload File
Create Folder