Server IP : 15.235.198.142 / Your IP : 216.73.216.14 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/yme/wp-content/plugins/elementor-pro/modules/forms/registrars/ |
Upload File : |
<?php namespace ElementorPro\Modules\Forms\Registrars; use ElementorPro\Core\Utils\Registrar; use ElementorPro\Modules\Forms\Fields; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } /** * Basic form fields registration manager. */ class Form_Fields_Registrar extends Registrar { /** * Form_Fields_Registrar constructor. * * @return void */ public function __construct() { parent::__construct(); $this->init(); } /** * Initialize the default fields. * * @return void */ public function init() { $this->register( new Fields\Time() ); $this->register( new Fields\Date() ); $this->register( new Fields\Tel() ); $this->register( new Fields\Number() ); $this->register( new Fields\Acceptance() ); $this->register( new Fields\Upload() ); $this->register( new Fields\Step() ); /** * Elementor Pro form fields registration. * * Fires when a new form field is registered. This hook allows developers to * register new form fields. * * @since 3.5.0 * * @param Form_Actions_Registrar $this An instance of form fields registration * manager. */ do_action( 'elementor_pro/forms/fields/register', $this ); } }