Usually, your course should be in class to be recognized for PGWP, or online courses should be less than 50%. Only then will you get the PGWP. Secondly, if those classes are conducted in class, but due to COVID, the school has moved to an online format, it is still recognized for PGWP.