is_admin() returns true when using admin-ajax.php from front end script
Had a situation today where I was using admin-ajax.php from a front end script. As I understand it this the wp way to make ajax calls (registering my function with the wp_ajax_nopriv_myfunction hook) Seems to me that since admin-ajax.php is on the admin side is_admin() returns true whereas my script calls it from the front … Read more