Okay i found out it in inline.js you just need to add function at end
function showMoreEventsModal(date) {
$.ajax({
url: WPFC.ajaxurl,
method: 'POST',
data: { action: 'wpfce_get_events', date: date },
success: function (response) {
let content = '<h3>Events on ' + date + '</h3>';
response.forEach(event => {
content += `<p><a href="${event.url}" target="_blank">${event.title} </a></p>`;
});
$('#wpfce-modal-content').html(content);
$('#wpfce-modal').fadeIn();
}
});
}
and that after eventRender
eventAfterAllRender: function(view) {
$('.fc-more').on('click', function(e) {
e.preventDefault();
var date = $(this).closest('.fc-day').attr('data-date');
showMoreEventsModal(date);
});
}