- 
		Home
	
- 
LearnPress – WordPress LMS Plugin
- 
4.1.6
- 
Code
- 
Classes
-  LP_Page_Controller 
		
			
				
					
													
								
																			
											| Total Complexity | 192 | 
																			
											| Dependencies | 16 | 
																			
											| Dependents | 5 | 
																	
							 
													
								
																			
											| Total lines | 1,111 | 
																			
											| Lines of code | 639 | 
																			
											| Logical lines of code | 421 | 
																	
							 
													
								
																			
											| Comment lines | 286 | 
																			
											| Methods | 27 | 
																			
											| Properties | 7 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 27
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| _load_archive_courses() | D | 30 | 30 | 116 | 
					
				| pre_get_posts() | B | 43 | 18 | 45 | 
					
				| get_page_template() | B | 46 | 18 | 33 | 
					
				| setup_data() | A | 42 | 13 | 51 | 
					
				| set_link_item_course_default_wp_to_page_404() | A | 46 | 13 | 36 | 
					
				| set_title_pages() | A | 42 | 12 | 50 | 
					
				| _maybe_redirect_courses_page() | A | 49 | 12 | 28 | 
					
				| post_type_link() | A | 39 | 9 | 66 | 
					
				| page_current() | A | 55 | 10 | 19 | 
					
				| get_page_templates() | A | 48 | 7 | 32 | 
					
				| template_loader() | S | 58 | 6 | 17 | 
					
				| check_pages() | S | 57 | 5 | 16 | 
					
				| auto_shortcode() | S | 57 | 5 | 16 | 
					
				| has_block_template() | S | 53 | 4 | 24 | 
					
				| _is_archive() | S | 77 | 5 | 3 | 
					
				| remove_course_post_format() | S | 66 | 4 | 8 | 
					
				| the_content_callback() | S | 61 | 3 | 13 | 
					
				| lp_desc_item_yoast_seo() | S | 64 | 3 | 10 | 
					
				| is_page_become_a_teacher() | S | 68 | 3 | 7 | 
					
				| instance() | S | 67 | 3 | 9 | 
					
				| _is_single() | S | 79 | 2 | 3 | 
					
				| page_title() | S | 68 | 2 | 7 | 
					
				| __construct() | S | 59 | 1 | 13 | 
					
				| is_404() | S | 79 | 1 | 3 | 
					
				| template_content_item() | S | 72 | 1 | 5 | 
					
				| page_template_hierarchy() | S | 76 | 1 | 4 | 
					
				| archive_content() | S | 74 | 1 | 5 |