wp_send_json_error Wordpress function


Description:

Send a JSON response back to an Ajax request, indicating failure.


Syntax:


Arguments:

(mixed) $data Data 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_error


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