GRAYBYTE WORDPRESS FILE MANAGER1081

Server IP : 68.65.123.43 / Your IP : 216.73.216.162
System : Linux server266.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/inteuuod/public_html/wp-content/plugins/metform/widgets/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/inteuuod/public_html/wp-content/plugins/metform/widgets//form-basic.php
<?php
namespace Elementor;
defined( 'ABSPATH' ) || exit;

class Widget_Met_Form_Basic extends Widget_Base {

	public function get_name() {
		return 'metform-basic';
    }
    
	public function get_title() {
		return esc_html__( 'MetForm Basic', 'metform' );
	}

	public function show_in_panel() {
        return 'metform-form' != get_post_type();
	}

	public function get_categories() {
		return [ 'metform' ];
	}

	public function get_keywords() {
        return ['metform', 'form'];
	}

	public function get_all_forms(){
		$form_list = [];
		$args = array(
			'posts_per_page'   => -1,
			'post_type'   => 'metform-form',
			'post_status' => 'publish',
		);
		   
		$forms = get_posts( $args );

		foreach($forms as $form){
			$form_list[$form->ID] = $form->post_title;
		}

		return $form_list;
	}

	protected function register_controls() {
		
        $this->start_controls_section(
			'content_section',
			[
				'label' => esc_html__( 'Content', 'metform' ),
				'tab' => Controls_Manager::TAB_CONTENT,
			]
		);

		
		$this->add_control(
			'mf_form_id',
			[
				'label' => esc_html__( 'Select Form : ', 'metform' ),
				'type' => Controls_Manager::SELECT,
				'default' => '',
				'options' => $this->get_all_forms(),
			]
		);

        $this->end_controls_section();
	}

	protected function render( $instance = [] ) {
		$settings = $this->get_settings_for_display();
		\MetForm\Utils\Util::metform_content_renderer(\MetForm\Utils\Util::render_form_content($settings['mf_form_id'], $this->get_id()));
	}
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
button
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
checkbox
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
date
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
email
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
file-upload
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
gdpr-consent
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
listing-fname
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
listing-lname
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
listing-optin
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
multi-select
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
number
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
password
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
radio
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
range
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
rating
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
recaptcha
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
select
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
simple-captcha
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
simple-message
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
summary
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
switch
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
telephone
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
text
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
textarea
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
time
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
url
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
.htaccess
0.41 KB
July 10 2025 04:32:24
inteuuod / inteuuod
0644
form-basic.php
1.479 KB
January 08 2023 15:19:54
inteuuod / inteuuod
0644
form.php
5.165 KB
June 26 2025 10:29:32
inteuuod / inteuuod
0644
manifest.php
9.258 KB
July 02 2025 15:04:38
inteuuod / inteuuod
0644
widget-notice.php
1.235 KB
May 27 2025 12:46:16
inteuuod / inteuuod
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF