REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 887 B
Close
/home/nshryvcy/radiantskinclinics.org/wp-content/plugins/extendify_old/app/Shared/Controllers/ImageGenerationController.php
Text
Base64
<?php /** * Controls Draft Settings */ namespace Extendify\Shared\Controllers; defined('ABSPATH') || die('No direct access.'); use Extendify\Shared\Services\Sanitizer; /** * The controller for keeping draft settings in sync */ class ImageGenerationController { /** * Return the data * * @return \WP_REST_Response */ public static function get() { $data = get_option('extendify_draft_settings', []); return new \WP_REST_Response($data); } /** * Persist the data * * @param \WP_REST_Request $request - The request. * @return \WP_REST_Response */ public static function store($request) { $data = json_decode($request->get_param('state'), true); update_option('extendify_draft_settings', Sanitizer::sanitizeArray($data)); return new \WP_REST_Response($data); } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 7
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
ActivityController.php
885 B
lrw-r--r--
2025-05-22 22:26:12
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
DataController.php
904 B
lrw-r--r--
2025-06-09 17:02:32
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ImageGenerationController.php
887 B
lrw-r--r--
2025-10-23 20:20:58
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
PatternPlaceholderController.php
2.31 KB
lrw-r--r--
2025-05-22 22:26:12
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
SiteProfileController.php
980 B
lrw-r--r--
2026-03-19 23:35:18
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
UserSelectionController.php
902 B
lrw-r--r--
2025-05-22 22:26:12
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
UserSettingsController.php
1.21 KB
lrw-r--r--
2025-05-22 22:26:12
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).