Dashboard
PHP:
8.4.23
OS:
Linux
User:
unknown
/
/
hosting
/
www
/
humoyoxido.com
/
public
/
wp-content
/
plugins
/
fluent-smtp
/
app
/
Models
📤 Upload
📝 New File
📁 New Folder
Close
Editing: Model.php
<?php namespace FluentMail\App\Models; class Model { protected $db = null; protected $app = null; protected $table = null; public function __construct() { $this->app = fluentMail(); $this->db = $GLOBALS['wpdb']; } public function getTable() { return $this->table; } public function __call($method, $params) { return call_user_func_array([$this->db, $method], $params); } public function getDb() { return fluentMailDb(); } }
Save
Cancel