I have looked there and through a lot of the other files. I don't see a way to just grab the value of specific custom course fields. Are you saying I should add code there or does the functionality I'm looking for already exists? I'm trying not to add too much due to it having to be modified with each update.
You will have to add code to grab the value. It won't be in $customcert, $cm, and $course.