In version 1.6 there is no direct callback method for this. If you use fullcalendar.min.js, you can do this by creating a function such as: -
function yourfunction(currentDate) {
and put it over
<script src="/fullcalendar/fullcalendar/fullcalendar.min.js" type="text/javascript"></script>
Then find the code "l () {var t, e, n, r, a = f (new date); in fullcalendar.min.js and call the function before closing the tag for the function" l ". Your code will look like this: -
l(){var t,e,n,r,a=f(new Date);if(Qe){var o=un(N(0),Ke);Je?o+=Ge:o=Ge+o,ee.find(".fc-week-number").text(o)}for(t=0;Le>t;t++)r=N(t),e=ne.eq(t),e.html(un(r,$e)),n=ae.eq(t),+r==+a?n.addClass(Ye+"-state-highlight fc-today"):n.removeClass(Ye+"-state-highlight fc-today"),yourfunction(r)==false?n.addClass("fc-disabled"):n.removeClass('fc-disabled'),$(e.add(n),r)}
I am adding a class to disable the day. Good luck .. !!
source share