$message, 'data' => $data, 'status' => $success ? 'success' : 'error', ]; wp_send_json($response); } }