[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
presto-player
/
inc
/
Database
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 Upgrades
SET
[ DEL ]
📄 AudioPresets.php
2,516 B
SET
[ EDIT ]
|
[ DEL ]
📄 EmailCollection.php
1,594 B
SET
[ EDIT ]
|
[ DEL ]
📄 Migrations.php
1,424 B
SET
[ EDIT ]
|
[ DEL ]
📄 Presets.php
2,904 B
SET
[ EDIT ]
|
[ DEL ]
📄 Table.php
2,032 B
SET
[ EDIT ]
|
[ DEL ]
📄 Videos.php
1,480 B
SET
[ EDIT ]
|
[ DEL ]
📄 Visits.php
1,422 B
SET
[ EDIT ]
|
[ DEL ]
📄 Webhooks.php
1,298 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: Webhooks.php
<?php namespace PrestoPlayer\Database; use PrestoPlayer\Database\Table; class Webhooks { protected $table; protected $version = 1; protected $name = 'presto_player_webhooks'; public function __construct( Table $table ) { $this->table = $table; } public function getName() { global $wpdb; return $wpdb->prefix . $this->name; } /** * Add relationships custom table * This allows for simple, efficient queries * * @return void */ public function install() { return $this->table->create( $this->name, ' id bigint(20) unsigned NOT NULL auto_increment, name varchar(155) NULL, url varchar(255) NULL, method varchar(155) NULL, email_name varchar(155) NULL, headers varchar(255) NULL, created_by bigint(20) unsigned NULL, created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP(), updated_at TIMESTAMP NOT NULL, deleted_at TIMESTAMP NULL, PRIMARY KEY (id), KEY name (name) ', $this->version ); } /** * Uninstall tables * * @return void */ public function uninstall() { $this->table->drop( $this->getName() ); } public function exists() { return $this->table->exists( $this->name ); } }