Параметр url может фактически принимать функцию (или имя функции - без скобок), а также строку.Итак, попробуйте:
jQuery(document).ready(
function() {
jQuery('.scroll_container').scrollExtend(
{
'target': 'div#scroll_items',
'url': function() {
//code to get the URL goes here
},
'newElementClass': 'list_item more_content'
}
);
}
);