- 
		Home
	
 
	- 
Ninja Forms – The Contact Form Builder That Grows With You
 
- 
3.13.0 (latest)
 
- 
Code
 
- 
Classes
 
-  NF_PromotionManager 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											28 | 
										
																			
											| Dependencies | 
											0 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											156 | 
										
																			
											| Lines of code | 
											81 | 
										
																			
											| Logical lines of code | 
											37 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											38 | 
										
																			
											| Methods | 
											14 | 
										
																			
											| Properties | 
											1 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 14
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| is_personal_active() | 
									S  | 
																	64 | 
													5 | 
													11 | 
							
					
				| maybe_remove_sendwp() | 
									S  | 
																	65 | 
													4 | 
													10 | 
							
					
				| remove_promotion() | 
									S  | 
																	68 | 
													3 | 
													7 | 
							
					
				| set_promotions() | 
									S  | 
																	67 | 
													2 | 
													8 | 
							
					
				| maybe_remove_personal() | 
									S  | 
																	75 | 
													2 | 
													5 | 
							
					
				| sort_active_promotions_by_locations() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| is_sendwp_active() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| is_ninja_mail_active() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| __construct() | 
									S  | 
																	73 | 
													1 | 
													6 | 
							
					
				| get_promotions() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| is_layout_styles_active() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| is_conditional_logic_active() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| is_multi_part_active() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| is_file_uploads_active() | 
									S  | 
																	79 | 
													1 | 
													3 |