- 
		Home
	
 
	- 
Spectra Gutenberg Blocks – Website Builder for the Block Editor
 
- 
1.25.2
 
- 
Code
 
- 
Classes
 
-  UAGB_Rest_API 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											25 | 
										
																			
											| Dependencies | 
											3 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											272 | 
										
																			
											| Lines of code | 
											133 | 
										
																			
											| Logical lines of code | 
											61 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											92 | 
										
																			
											| Methods | 
											12 | 
										
																			
											| Properties | 
											1 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 12
	
		
		
			| 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 | 
							
					
				| 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 | 
							
					
				| __construct() | 
									S  | 
																	69 | 
													1 | 
													6 | 
							
					
				| get_comment_info() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| add_orderby() | 
									S  | 
																	73 | 
													1 | 
													5 |