Error thrown

Call to undefined function lp_is_archive_course_load_via_api()