- 
		Home
	
 
	- 
Spectra Gutenberg Blocks – Website Builder for the Block Editor
 
- 
2.0.8
 
- 
Code
 
- 
Classes
 
-  UAGB_Rest_API 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											27 | 
										
																			
											| Dependencies | 
											3 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											292 | 
										
																			
											| Lines of code | 
											142 | 
										
																			
											| Logical lines of code | 
											66 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											101 | 
										
																			
											| Methods | 
											13 | 
										
																			
											| Properties | 
											1 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 13
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| delete_page_assets() | 
									S  | 
																	54 | 
													5 | 
													21 | 
							
					
				| blocks_register_rest_fields() | 
									S  | 
																	48 | 
													2 | 
													41 | 
							
					
				| get_image_src() | 
									S  | 
																	58 | 
													3 | 
													16 | 
							
					
				| __construct() | 
									S  | 
																	61 | 
													2 | 
													12 | 
							
					
				| get_instance() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| does_post_contain_reusable_blocks() | 
									S  | 
																	65 | 
													2 | 
													9 | 
							
					
				| get_author_info() | 
									S  | 
																	69 | 
													2 | 
													6 | 
							
					
				| get_excerpt() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| register_rest_orderby_fields() | 
									S  | 
																	68 | 
													2 | 
													6 | 
							
					
				| add_cpts_to_api() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| after_widget_save_action() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| get_comment_info() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| add_orderby() | 
									S  | 
																	73 | 
													1 | 
													5 |