Hi everyone, I have Problem with using wp_die()
I have created custom registration form in wordpress and everything works fine. the error handling and database operations also fine. The only problem is that the JSON response i return is printed on all pages in wordpress including admin account , dashboard, pages and all posts. I have looked for in it google, the only thing i got is to use wp_die() , if i use this wp_die() at end of my functions.php files function I get a white page without issue resolved. Can anyone know any solution for this. i have attached the screenshot of wordpress dashboard.