| Server IP : 104.26.5.103 / Your IP : 216.73.217.51 Web Server : nginx/1.27.1 System : Linux in-5 5.15.0-191-generic #201-Ubuntu SMP Fri Aug 7 18:39:04 UTC 2026 x86_64 User : arabianexpress ( 1872) PHP Version : 8.0.30 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /storage/v9321/leapdubai/public_html/wp-content/plugins/kirki/app/Models/ |
Upload File : |
<?php
namespace Kirki\App\Models;
defined('ABSPATH') || exit;
use Kirki\Framework\Database\Query\Model;
/**
* Form submission data model — maps to the `kirki_forms_data` table
* (KIRKI_FORM_DATA_TABLE).
*
* Stores one row per submitted field. All rows belonging to a single
* submission share the same unix `timestamp` and `session_id`.
*/
class FormData extends Model
{
/**
* The database table (without prefix; the connection adds it).
*
* @var string
*/
protected $table = 'kirki_forms_data';
/**
* The primary key column.
*
* @var string
*/
protected $primary_key = 'id';
/**
* created_at / updated_at are handled by the table's CURRENT_TIMESTAMP
*
* @var bool
*/
protected $timestamps = true;
/**
* Mass-assignable attributes.
*
* @var array
*/
protected $fillable = [
'form_id',
'user_id',
'session_id',
'timestamp',
'input_key',
'input_value',
'input_type',
];
}