┌────────────────────────────────┐ │ ░░░ ░░▓ ░▓▓ ███ ▓▓░ ▓░░ │ │ ~ M O O N ~ │ └────────────────────────────────┘
prd-web-01.centraldc.gr
LOCATION:
/var/www/html/vio-prosarmogi/wp-content/plugins/wp-rollback/src
☗ ROOT
↻ REFRESH
✎ EDIT FILE
EDITING: commandPalette.js
import { store as commandsStore } from '@wordpress/commands'; import { dispatch } from '@wordpress/data'; import { useRollbackCommandLoader } from '../../shared-core/src/Frontend/commandPalette/RollbackCommandPalette'; /** * Register the rollback command loader directly with the WordPress commands * store. This runs at module load time — no React root or PluginArea needed. * The command palette reads from this store and calls the hook in its own * React rendering context, making React hooks valid inside the loader. */ dispatch( commandsStore ).registerCommandLoader( { name: 'wp-rollback/rollback-asset', hook: useRollbackCommandLoader, } );
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📁 Core/
DIR
—
2026-05-13 07:39
📁 PluginSetup/
DIR
—
2026-05-13 07:39
📁 Rollbacks/
DIR
—
2026-05-13 07:39
📄 commandPalette.js
JS
664 B
2026-05-13 07:39
EDIT