REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 2.13 KB
Close
/proc/self/root/home/nshryvcy/radiantskinclinics.org/wp-content/plugins/metform/controls/form-picker.php
Text
Base64
<?php namespace MetForm\Controls; defined( 'ABSPATH' ) || exit; class Form_Picker extends \Elementor\Base_Data_Control { /** * Get choose control type. * * Retrieve the control type, in this case `choose`. * * @since 1.0.0 * @access public * * @return string Control type. */ public function get_type() { return 'formpicker'; } /** * Enqueue ontrol scripts and styles. * * @since 1.0.0 * @access public */ public function enqueue() { // Styles wp_register_style( 'metform-css-formpicker-control-inspactor', Base::get_url() . 'assets/css/form-picker-inspactor.css', [], '1.0.0' ); wp_enqueue_style( 'metform-css-formpicker-control-inspactor' ); // Script wp_register_script( 'metform-js-formpicker-control-inspactor', Base::get_url() . 'assets/js/form-picker-inspactor.js' ); wp_enqueue_script( 'metform-js-formpicker-control-inspactor' ); } /** * Render choose control output in the editor. * * Used to generate the control HTML in the editor using Underscore JS * template. The variables for the class are available using `data` JS * object. * * @since 1.0.0 * @access public */ public function content_template() { $control_uid = $this->get_control_uid(); ?> <div style="display:none" class="elementor-control-field"> <label for="<?php echo esc_attr($control_uid); ?>" class="elementor-control-title">{{{ data.label }}}</label> <div class="elementor-control-input-wrapper"> <textarea id="<?php echo esc_attr($control_uid); ?>" data-setting="{{ data.name }}"></textarea> </div> </div> <!-- <button id="metform-inspactor-edit-button">Edit Form Content</button> --> <# if ( data.description ) { #> <div class="elementor-control-field-description">{{{ data.description }}}</div> <# } #> <?php } /** * Get choose control default settings. * * Retrieve the default settings of the choose control. Used to return the * default settings while initializing the choose control. * * @since 1.0.0 * @access protected * * @return array Control default settings. */ protected function get_default_settings() { return [ 'label_block' => true, ]; } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 1 × Files: 7
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
assets
DIR
-
drwxr-xr-x
2026-06-11 02:40:12
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
admin-add-new-form.php
650 B
lrw-r--r--
2022-10-26 15:25:22
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
base.php
5.24 KB
lrw-r--r--
2026-06-09 12:11:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
control-manager.php
407 B
lrw-r--r--
2021-07-13 10:59:22
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
form-editor-modal.php
2.64 KB
lrw-r--r--
2021-07-13 10:59:22
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
form-picker-modal.php
4.90 KB
lrw-r--r--
2023-01-08 15:19:54
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
form-picker-utils.php
1.87 KB
lrw-r--r--
2026-06-09 12:11:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
form-picker.php
2.13 KB
lrw-r--r--
2023-01-08 15:19:54
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).