| Server IP : 3.93.235.159 / Your IP : 216.73.216.140 Web Server : Apache System : Linux ip-172-26-0-169 5.10.0-46-cloud-amd64 #1 SMP Debian 5.10.262-1 (2026-07-31) x86_64 User : bitnami ( 1000) PHP Version : 8.2.9 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /bitnami/wordpress/wp-content/plugins/hello-plus/modules/forms/registrars/ |
Upload File : |
<?php
namespace HelloPlus\Modules\Forms\Registrars;
use HelloPlus\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\Tel() );
$this->register( new Fields\Acceptance() );
}
}