Where is the function that checking the lesson if it passed or not?

i just one to know, where is the function that checking the lesson result if student pass or not.. can't you help me?
Profile picture for user James Aparicio
James Aparicio

Hi Adjoen,

Hi Adjoen,


There isnt any specific opigno function for that.

You can use quiz_get_score_data function, that returns the best result for a user. Based on that is simply comparing the percent_score >= percent_pass.

If you are asking what is the function on opigno that is checking if a user has passed a course it is opigno_quiz_app_user_passed.



Thank you

This solved my problem