I have problem with AJAX.
jQuery.ajax({
type:"POST",
url: "/wp-admin/admin-ajax.php", // our PHP handler file
data: "myDataString",
success:function(results){
alert(results);
}
)};
Without authorization this request does not work. How can I add custom URL to action in WP?