Hello,
The question is how can i programmatically purge all caches? it is posible?, i am adding programmatically groups, groupings, access restrictions to sections and always need to purge cache when execute the code.
Thanks in advance
purge_all_caches();
So easy when you know how
Although, in this case, it sounds like you really want is:
rebuild_course_cache($courseid)