REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 980 B
Close
/home/nshryvcy/radiantskinclinics.org/wp-content/plugins/extendify_old/app/Shared/Controllers/SiteProfileController.php
Text
Base64
<?php /** * Controls Site Profile options */ namespace Extendify\Shared\Controllers; defined('ABSPATH') || die('No direct access.'); use Extendify\Shared\Services\Sanitizer; /** * The controller for persisting site data */ class SiteProfileController { /** * Persist single data * * @param \WP_REST_Request $request - The request. * @return \WP_REST_Response */ public static function store($request) { $value = $request->get_param('siteProfile'); \update_option('extendify_site_profile', Sanitizer::sanitizeUnknown($value)); $siteProfile = is_string($value) ? json_decode($value, true) : $value; return new \WP_REST_Response($siteProfile); } /** * Get option data by name. * * @return \WP_REST_Response */ public static function get() { $siteProfile = \get_option('extendify_site_profile', []); return new \WP_REST_Response($siteProfile); } }
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).