$78 GRAYBYTE WORDPRESS FILE MANAGER $66

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/home/bravrvjk/dantho.rw/wp-content/plugins/elementor/includes/widgets/

HOME
Current File : /home/bravrvjk/dantho.rw/wp-content/plugins/elementor/includes/widgets//button.php
<?php
namespace Elementor;

use Elementor\Includes\Widgets\Traits\Button_Trait;
use Elementor\Modules\Promotions\Controls\Promotion_Control;

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 is_dynamic_content(): bool {
		return false;
	}

	public function has_widget_inner_wrapper(): bool {
		return ! Plugin::$instance->experiments->is_feature_active( 'e_optimized_markup' );
	}

	/**
	 * 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();
	}
}


Current_dir [ WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
6 Nov 2025 10.43 AM
bravrvjk / bravrvjk
0755
traits
--
6 Nov 2025 10.43 AM
bravrvjk / bravrvjk
0755
accordion.php
19.672 KB
5 Aug 2025 6.00 PM
bravrvjk / bravrvjk
0644
alert.php
13.501 KB
5 Aug 2025 6.00 PM
bravrvjk / bravrvjk
0644
audio.php
7.452 KB
17 Mar 2025 5.28 PM
bravrvjk / bravrvjk
0644
button.php
2.979 KB
5 Aug 2025 6.00 PM
bravrvjk / bravrvjk
0644
common-base.php
33.751 KB
15 Sep 2025 2.10 PM
bravrvjk / bravrvjk
0644
common-optimized.php
0.82 KB
20 Dec 2024 2.26 AM
bravrvjk / bravrvjk
0644
common.php
0.199 KB
10 Dec 2024 7.19 PM
bravrvjk / bravrvjk
0644
counter.php
17.358 KB
22 Jul 2025 4.07 PM
bravrvjk / bravrvjk
0644
divider.php
33.291 KB
21 Oct 2025 3.45 PM
bravrvjk / bravrvjk
0644
google-maps.php
6.882 KB
10 Dec 2024 7.19 PM
bravrvjk / bravrvjk
0644
heading.php
13.426 KB
21 Oct 2025 3.45 PM
bravrvjk / bravrvjk
0644
html.php
2.625 KB
10 Dec 2024 7.19 PM
bravrvjk / bravrvjk
0644
icon-box.php
24.223 KB
15 Sep 2025 2.10 PM
bravrvjk / bravrvjk
0644
icon-list.php
22.136 KB
15 Sep 2025 2.10 PM
bravrvjk / bravrvjk
0644
icon.php
12.908 KB
15 Sep 2025 2.10 PM
bravrvjk / bravrvjk
0644
image-box.php
21.392 KB
16 Sep 2025 6.30 PM
bravrvjk / bravrvjk
0644
image-carousel.php
27.989 KB
5 Aug 2025 6.00 PM
bravrvjk / bravrvjk
0644
image-gallery.php
11.758 KB
20 Jan 2025 7.15 PM
bravrvjk / bravrvjk
0644
image.php
19.477 KB
15 Sep 2025 2.10 PM
bravrvjk / bravrvjk
0644
inner-section.php
0.896 KB
27 May 2024 1.32 PM
bravrvjk / bravrvjk
0644
menu-anchor.php
3.961 KB
10 Dec 2024 7.19 PM
bravrvjk / bravrvjk
0644
progress.php
13.593 KB
10 Jun 2025 1.36 PM
bravrvjk / bravrvjk
0644
rating.php
7.607 KB
5 Aug 2025 6.00 PM
bravrvjk / bravrvjk
0644
read-more.php
3.307 KB
17 Mar 2025 5.28 PM
bravrvjk / bravrvjk
0644
shortcode.php
3.333 KB
10 Dec 2024 7.19 PM
bravrvjk / bravrvjk
0644
sidebar.php
3.047 KB
10 Dec 2024 7.19 PM
bravrvjk / bravrvjk
0644
social-icons.php
17.3 KB
15 Sep 2025 2.10 PM
bravrvjk / bravrvjk
0644
spacer.php
3.659 KB
20 Jan 2025 7.15 PM
bravrvjk / bravrvjk
0644
star-rating.php
13.077 KB
21 Oct 2025 3.45 PM
bravrvjk / bravrvjk
0644
tabs.php
16.686 KB
10 Dec 2024 7.19 PM
bravrvjk / bravrvjk
0644
testimonial.php
17.516 KB
15 Sep 2025 2.10 PM
bravrvjk / bravrvjk
0644
text-editor.php
14.757 KB
5 Aug 2025 6.00 PM
bravrvjk / bravrvjk
0644
toggle.php
19.831 KB
5 Aug 2025 6.00 PM
bravrvjk / bravrvjk
0644
video.php
34.359 KB
21 Oct 2025 3.45 PM
bravrvjk / bravrvjk
0644
wordpress.php
7.419 KB
20 Jan 2025 7.15 PM
bravrvjk / bravrvjk
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF