SCORM
Filters
add_filter( 'stm_lms_scorm_allowed_files_ext', 'stm_lms_scorm_allowed_files_ext_function');
function stm_lms_scorm_allowed_files_ext_function($allowed){
$user_id = get_current_user_id();
if($user_id == 1){
array_push($allowed, 'png');
}
return $allowed;
}Last updated
Was this helpful?

