Skip to content

Commit 1d8560b

Browse files
committed
Removed unnecessary function
1 parent c03ffc3 commit 1d8560b

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

templates/dashboard/instructor/home/upcoming-task-item.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,6 @@
1313
use TUTOR\Icon;
1414
use Tutor\Components\Badge;
1515

16-
$get_icon_by_post_type = function ( $post_type ) {
17-
switch ( $post_type ) {
18-
case 'tutor_assignments':
19-
return Icon::ASSIGNMENT;
20-
case 'tutor-google-meet':
21-
return Icon::GOOGLE_MEET_COLORIZE;
22-
case 'tutor_quiz':
23-
return Icon::QUIZ;
24-
case 'tutor_zoom_meeting':
25-
return Icon::ZOOM_COLORIZE;
26-
case 'lesson':
27-
return Icon::LESSON;
28-
}
29-
};
30-
3116
$label = __( 'Live Session', 'tutor' );
3217
?>
3318

0 commit comments

Comments
 (0)