Property | Type | Description | |
---|---|---|---|
$__version | string | Override version | |
$data | mixed | This property can be a string or - usually - an array. | |
$error | string | User define error code or string | |
$message | string | Usually an alert message feedback |
Method | Description | |
---|---|---|
__construct ( ) : WPDKAjaxResponse | Create an instance of WPDKAjaxResponse class | |
json ( ) | Send a JSON response back to an Ajax request. |
public __construct ( ) : WPDKAjaxResponse | ||
return | WPDKAjaxResponse |
public mixed $data | ||
return | mixed |