Returning JSON data with ajax in wordpress

%1$s besuchenReturning JSON data with ajax in wordpress

fter $output=json_encode($output); the $output is not an array anymore, instead, it’s a json string, so is_array($output) will return false but if you use is_array() just before you encode it using $output=json_encode($output)