|wp-includes/functions.php: wp_json_encode()|| |
Encode a variable into JSON, with some sanity checks.
|wp-includes/capabilities.php: current_user_can()|| |
Returns whether the current user has the specified capability.
|wp-includes/pluggable.php: check_ajax_referer()|| |
Verifies the Ajax request to prevent processing requests external of the blog.
|wp-includes/functions.php: wp_send_json_error()|| |
Send a JSON response back to an Ajax request, indicating failure.
|wp-includes/functions.php: wp_send_json_success()|| |
Send a JSON response back to an Ajax request, indicating success.
|wp-includes/option.php: set_transient()|| |
Sets/updates the value of a transient.