????JFIF??x?x????'
Server IP : 104.21.112.1 / Your IP : 216.73.216.145 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/tempvsty/eaabusiness.com/saadsite/wp-content/themes/astra/widgets/ |
Upload File : |
<?php namespace WPC\Widgets; use Elementor\Widget_Base; use Elementor\Controls_Manager; if(!defined('ABSPATH')){ exit; } class Advertisement extends Widget_Base{ public function get_name(){ return 'advertisement'; } public function get_title(){ return 'Advertisement'; } public function get_icon(){ return 'fa fa-camera'; } public function get_categories(){ return ['general']; } protected function _register_controls(){ $this->start_controls_section( 'section_content', [ 'label' => 'Settings', ] ); $this->add_control( 'label_heading', [ 'label' => 'Label Heading', 'type' => \Elementor\Controls_Manager::TEXT, 'default' => 'Example Heading', ] ); $this->add_control( 'content_heading', [ 'label' => 'Content Heading', 'type' => \Elementor\Controls_Manager::TEXT, 'default' => 'Example Content Heading', ] ); $this->add_control( 'content', [ 'label' => 'Content', 'type' => \Elementor\Controls_Manager::WYSIWYG, 'default' => 'Some Example content', ] ); $this->end_controls_section(); } protected function render() { echo "<h2> I worked </h2>"; } protected function _content_template() { echo "<h2> I worked JS</h2>"; } }