Accessing Custom Fields for use in a theme

Accessing Custom Fields for use in a theme

by Kieran Briggs -
Number of replies: 0

Hi all, 

I'm running 3.9.1 and am building a theme based on Snap.  I've added a couple of custom fields to some activities (study time, exams etc) and I want to be able to call them to display as part of my theme.  I've had a look at the custom fields API documentation on moodle.org but that seems to be how to add that feature into a plugin rather than displaying them. 

Are there any examples of how themes are displaying custom fields for me to look at?

Thanks

Kieran Briggs

Average of ratings: -