Add the bellow code in your wplms-customizer.php file present in your wplms customizer plugin:
add_action('wp_head','custom_hide_mark_unit_complete');function custom_hide_mark_unit_complete(){ if(is_user_logged_in() && !current_user_can('edit_posts')){ echo '<style>#mark-complete{display:none;}</style>'; }}
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
The topic ‘DIsable complete unit for students’ is closed to new replies.