send_json_error()
public static function send_json_error( $data )
Sends an error JSON response with a delimiter indicating the beginning and end of the JSON string.
Since: 2.9.16
Source: common.php:8343
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$data | mixed | The data to be sent in the JSON response. |
Returns
void