| Server IP : 103.249.100.196 / Your IP : 216.73.216.194 Web Server : Apache System : Linux cp196.maytech.vn 5.14.0-687.66.2.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 6 16:20:31 EST 2026 x86_64 User : dlsafepha ( 1078) PHP Version : 8.2.36 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home2/dlsafepha/public_html/wp-content/plugins/popup-maker/includes/ |
Upload File : |
<?php
/**
* Forms
*
* @package PopupMaker
* @copyright Copyright (c) 2024, Code Atlantic LLC
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* PUM_Form Class
*/
class PUM_Form extends PUM_Fields {
public $id;
public $field_prefix = 'pum_form';
public $field_name_format = '{$prefix}[{$field}]';
/**
* Sets the $id of the Cookie and returns the parent __construct()
*
* @param array $id
* @param array $args
*/
public function __construct( $id, $args = [] ) {
$this->id = $id;
if ( empty( $args['id'] ) ) {
$args['id'] = $id;
}
if ( isset( $args['field_prefix'] ) ) {
$this->field_prefix = $args['field_prefix'];
}
if ( isset( $args['field_name_format'] ) ) {
$this->field_name_format = $args['field_name_format'];
}
parent::__construct( $args );
}
public function get_id() {
return $this->id;
}
}