Skip to main content

send_json()

public static function send_json( $response )

Sends a JSON response with a delimiter indicating the beginning and end of the JSON string.

Since: 2.9.16

Source: common.php:8362

Parameters

NameTypeDefaultDescription
$responsearrayThe response data to be sent in the JSON response.

Returns

  • void