• function mkCallWP(item) {
    	$.ajax({
    		type: 'POST',
    		url: ??
    	});
    }

    In the url, should I insert:

    1) 'include/something.php'

    or

    2) get_template_directory_uri() . 'include/something.php

The topic ‘Making an AJAX call, URL needed’ is closed to new replies.