Display course batches on single course page when course layout set as other than blank

Add this code in wplms-customizer.php to show course batches on single course page below course description. https://prntscr.com/11drafa add_action(‘wplms_after_course_description’,function(){ $id = get_the_ID(); $batches = wplms_get_course_batches($id); if(empty($batches)) return; $init=Wplms_Batches_Init::init(); $init->show_enroll_button = 1; ?> <div class=”wplms_batches_wrapper block”> <ul> <?php foreach($batches as $batch_id){ $init->batch_grid_style(‘custom’,$batch_id); } ?> </ul> </div><style>.wplms_batches_wrapper ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));grid-gap:1rem}.wplms_batches_wrapper .batch_snapshot{display:flex;flex-direction:row;border:1px solid var(–border);padding:.5rem;position:relative;flex-wrap:wrap;align-items: flex-start}.batch_snapshot .labels{position:absolute;top:.5rem;left:.5rem;z-index:9;background:var(–primary);color:var(–primarycolor);padding:2px […]