wp_send_json_success(); code example Example: wp_send_json wp_send_json() wp_send_json_success() wp_send_json_error() wp_die()