- 
		Home
	
- 
LearnPress – WordPress LMS Plugin
- 
4.1.6
- 
Code
- 
Classes
-  LP_Email 
		
			
				
					
													
								
																			
											| Total Complexity | 97 | 
																			
											| Dependencies | 4 | 
																			
											| Dependents | 3 | 
																	
							 
													
								
																			
											| Total lines | 1,200 | 
																			
											| Lines of code | 407 | 
																			
											| Logical lines of code | 184 | 
																	
							 
													
								
																			
											| Comment lines | 607 | 
																			
											| Methods | 42 | 
																			
											| Properties | 36 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 42
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| __construct() | A | 44 | 10 | 44 | 
					
				| enable() | A | 49 | 9 | 30 | 
					
				| _remove_email_content_from_option() | S | 58 | 7 | 16 | 
					
				| get_order_instructors() | S | 55 | 6 | 20 | 
					
				| apply_style_inline() | S | 56 | 5 | 16 | 
					
				| _default_settings() | S | 42 | 2 | 59 | 
					
				| send() | S | 59 | 4 | 13 | 
					
				| get_content_format() | S | 64 | 4 | 11 | 
					
				| get_content() | S | 60 | 3 | 12 | 
					
				| get_common_variables() | S | 52 | 2 | 25 | 
					
				| email_header() | S | 59 | 2 | 16 | 
					
				| get_email_format() | S | 78 | 3 | 3 | 
					
				| get_template() | S | 65 | 3 | 9 | 
					
				| map_data_to_variables() | S | 65 | 3 | 9 | 
					
				| get_theme_template_file() | S | 63 | 2 | 11 | 
					
				| __get() | S | 69 | 2 | 7 | 
					
				| is_current() | S | 77 | 2 | 3 | 
					
				| format_string() | S | 63 | 2 | 10 | 
					
				| get_image_header() | S | 68 | 2 | 7 | 
					
				| email_footer() | S | 64 | 2 | 10 | 
					
				| is_configured() | S | 80 | 1 | 3 | 
					
				| get_variables_support() | S | 79 | 1 | 3 | 
					
				| get_recipient() | S | 78 | 1 | 3 | 
					
				| get_subject() | S | 80 | 1 | 3 | 
					
				| get_heading() | S | 80 | 1 | 3 | 
					
				| get_footer_text() | S | 75 | 1 | 4 | 
					
				| get_content_html() | S | 69 | 1 | 6 | 
					
				| get_content_plain() | S | 68 | 1 | 7 | 
					
				| get_content_text_message() | S | 78 | 1 | 3 | 
					
				| get_headers() | S | 77 | 1 | 3 | 
					
				| get_attachments() | S | 78 | 1 | 3 | 
					
				| get_from_name() | S | 75 | 1 | 4 | 
					
				| get_blogname() | S | 79 | 1 | 3 | 
					
				| save_template() | S | 83 | 1 | 3 | 
					
				| send_email() | S | 71 | 1 | 5 | 
					
				| get_template_data() | S | 82 | 1 | 3 | 
					
				| get_field_name() | S | 79 | 1 | 3 | 
					
				| get_settings() | S | 78 | 1 | 3 | 
					
				| _get_admin_email() | S | 79 | 1 | 3 | 
					
				| __toString() | S | 82 | 1 | 3 | 
					
				| set_receive() | S | 81 | 1 | 3 | 
					
				| handle() | S | 91 | 1 | 2 |