AJAX in plugin wp_send_json() sending html

Fixed it! I was getting a false positive with the ajax request. I thought it was going through but returning ‘undefined’ but I was actually using the wrong url.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)