| Server IP : 188.114.96.3 / Your IP : 104.23.243.216 Web Server : Apache System : Linux web236.dogado.net 4.18.0-553.141.2.lve.el7h.x86_64 #1 SMP Wed Jul 8 17:20:31 UTC 2026 x86_64 User : h193310 ( 10083) PHP Version : 8.4.12 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/h193310.web236.dogado.net/httpdocs/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',
];
}