文件操作 - Model.php
返回文件管理
返回主菜单
删除本文件
文件: /storage/v12552/samauripartners/public_html/wp-content/plugins_OFF/fluentform/app/Models/Model.php
编辑文件内容
<?php namespace FluentForm\App\Models; use FluentForm\Framework\Database\Orm\Model as BaseModel; class Model extends BaseModel { /** * The attributes that aren't mass assignable. * * @var array */ protected $guarded = ['id', 'ID']; /** * Get the number of models to return per page. * * @return int */ public function getPerPage() { $request = wpFluentForm('request'); return intval( $request->get('per_page', $request->get('perPage', $this->perPage)) ); } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件