GRAYBYTE WORDPRESS FILE MANAGER8516

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/controls/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/inteuuod/public_html/wp-content/plugins/metform/controls//form-picker-utils.php
<?php 
namespace MetForm\Controls;

defined( 'ABSPATH' ) || exit;

class Form_Picker_Utils{

	function init(){
		add_action('elementor/editor/after_enqueue_styles', array( $this, 'modal_content' ) );
	}

	public function modal_content() { 
		?>
		<div class="metform_open_content_editor_modal">
			<?php include 'form-picker-modal.php'; ?>
			<?php include \MetForm\Plugin::instance()->core_dir() . 'forms/views/modal-editor.php'; ?>
		</div>
		<div class="formpicker_iframe_modal">
			<?php include 'form-editor-modal.php'; ?>
		</div>
		<?php
	}

	public static function parse($key, $widget_key){
		$extract_key = explode('***', $key);
		$extract_key = $extract_key[0];
		ob_start(); ?>

		<div class="formpicker_warper formpicker_warper_editable" data-metform-formpicker-key="<?php echo esc_attr($extract_key); ?>" >
				<?php if(\Elementor\Plugin::$instance->editor->is_edit_mode() == true) : ?>
					<div style="display:none;" class="formpicker_warper_edit" data-metform-formpicker-key="<?php echo esc_attr($extract_key); ?>" data-nonce="<?php echo esc_attr(wp_create_nonce('wp_rest'));?>"  resturl="<?php echo esc_url(get_rest_url()); ?>metform/v1/forms/templates/" >
						<i class="metform-builder-edit" aria-hidden="true"></i>
						<a href="#" class="elementor-screen-only" title="<?php esc_html_e('Edit Form Content', 'metform'); ?>"><?php esc_html_e('Edit', 'metform'); ?></a>
					</div>
				<?php endif; ?>

			<div class="mf-widget-container">
				<?php 
					if ($extract_key == ''){
						echo esc_html__('No content is added yet.', 'metform');
					} else {
						\MetForm\Utils\Util::metform_content_renderer(\MetForm\Utils\Util::render_form_content($extract_key, $widget_key));
					}
				?>
			</div>
		</div>
		<?php
		$output = ob_get_contents();
		ob_end_clean();

		return $output;
	}
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
assets
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
.htaccess
0.41 KB
July 10 2025 04:32:24
inteuuod / inteuuod
0644
admin-add-new-form.php
0.635 KB
October 26 2022 15:25:22
inteuuod / inteuuod
0644
base.php
2.391 KB
May 27 2025 12:46:16
inteuuod / inteuuod
0644
control-manager.php
0.397 KB
July 13 2021 10:59:22
inteuuod / inteuuod
0644
form-editor-modal.php
2.637 KB
July 13 2021 10:59:22
inteuuod / inteuuod
0644
form-picker-modal.php
4.898 KB
January 08 2023 15:19:54
inteuuod / inteuuod
0644
form-picker-utils.php
1.77 KB
February 18 2025 11:07:26
inteuuod / inteuuod
0644
form-picker.php
2.126 KB
January 08 2023 15:19:54
inteuuod / inteuuod
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF