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