How do I hook an Ajax request into a PHP callback?

Your url should be pointing to admin-ajax.php

echo admin_url('admin-ajax.php');

Leave a Comment

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