Server IP : 172.24.0.40 / Your IP : 216.73.216.10 Web Server : Apache System : Linux dbweb26.ust.edu.ph 4.18.0-513.5.1.el8_9.x86_64 #1 SMP Fri Sep 29 05:21:10 EDT 2023 x86_64 User : apache ( 48) PHP Version : 8.2.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/ajels/public_html/wp-content/plugins/elementor-pro/modules/forms/controls/ |
Upload File : |
<?php namespace ElementorPro\Modules\Forms\Controls; use Elementor\Control_Repeater; use Elementor\Controls_Manager; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } /** * Class Fields_Map * @package ElementorPro\Modules\Forms\Controls * * each item needs the following properties: * remote_id, * remote_label * remote_type * remote_required * local_id */ class Fields_Map extends Control_Repeater { const CONTROL_TYPE = 'fields_map'; public function get_type() { return self::CONTROL_TYPE; } protected function get_default_settings() { return array_merge( parent::get_default_settings(), [ 'render_type' => 'none', 'fields' => [ [ 'name' => 'remote_id', 'type' => Controls_Manager::HIDDEN, ], [ 'name' => 'local_id', 'type' => Controls_Manager::SELECT, ], ], ] ); } }