Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

wp_send_json()

3 tags 1 category

wp_send_json() — Sends a JSON response back to an Ajax request.

Inputs: $response (mixed): Variable (usually an array or object) to encode as JSON, then print and die. $status_code (int): Optional. The HTTP status code to output. Default null. $flags (int): Optional. Options to be passed to json_encode(). Default 0.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…