title: List course categories on home page moodle
body: <p>I am new in Moodle. How can I list / get all course categories?
  I want to display course categories at front end. I tried with custom queries but my lesser experience I am not able to get it.</p>