HEX
Server: Apache/2.4.65 (Debian)
System: Linux localhost 6.9.12 #1 SMP Tue May 5 14:23:20 UTC 2026 x86_64
User: www-data (33)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/wpdatatables/source/class.feedback.php
<?php

if ( ! defined( 'ABSPATH' ) ) {
    exit;
}

class WPDataTablesFeedback{
    public static $wdt_api_feedback_url = 'https://wpreportbuilder.com/wp-json/wpreportbuilder/v1/form-submissions';
    public static function wdtSendFeedback($reason, $reason_caption){
        $response = wp_remote_post(self::$wdt_api_feedback_url, [
            'body' => [
                'api_version' => get_option('wdtVersion'),
                'feedback_key' => $reason,
                'feedback' => $reason_caption,
            ],
        ]);

        return $response;
    }
}