REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 664 B
Close
/home/nshryvcy/blissfulnepal.com/wp-content/plugins/wp-rollback/src/commandPalette.js
Text
Base64
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, } );
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 3 × Files: 1
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
Core
DIR
-
drwxr-xr-x
2026-05-06 14:06:55
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
PluginSetup
DIR
-
drwxr-xr-x
2026-05-06 14:06:55
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Rollbacks
DIR
-
drwxr-xr-x
2026-05-06 14:06:55
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
commandPalette.js
664 B
lrw-r--r--
2026-05-06 14:06:55
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).