Already checked the solution in code but you have to select the courses one by one.
Duplicate the group is also not available and it will not help because it sets some details for courses too.
But why would you add the option NONE and not the option ALL? Something I don't get. But thanks for your answer. Do you think one of your colleagues would know a way around it? Your solution is very time-consuming.
The method we are using to pass the course ids like [id1,id2,..].
But for all, we don't have all the ids.
So making things simple none and the selective course is only added in batch.
Selecting all the courses for a single batch is not added
You can connect batch with course from 2 ways,you can choose any of them
1- From edit course page
2- from batch manage page
For docs refer this:https://wplms.io/support/article-categories/wplms-batches/