get_param('value'); \update_option('extendify_site_profile', Sanitizer::sanitizeUnknown($value)); return new \WP_REST_Response($value); } /** * Get option data by name. * * @return \WP_REST_Response */ public static function get() { $data = \get_option('extendify_site_profile', []); return new \WP_REST_Response($data); } }