wp_send_json Wordpress function


Description:

Send a JSON response back to an Ajax request.


Syntax:


Arguments:

(mixed) $response Variable (usually an array or object) to encode as JSON, then print and die.


Return Type:


Define At:

wp-includes/functions.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_send_json


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×