classes/PodsForm.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 439-440 (lines=2) @@ | 
                                                            
                                    | 436 |  |  | 
                                                            
                                    | 437 |  |             $attributes = array_merge( $_attributes, (array) $attributes ); | 
                                                            
                                    | 438 |  |  | 
                                                            
                                    | 439 |  |             if ( isset( $options[ 'attributes' ] ) && is_array( $options[ 'attributes' ] ) && !empty( $options[ 'attributes' ] ) ) | 
                                                            
                                    | 440 |  |                 $attributes = array_merge( $attributes, $options[ 'attributes' ] ); | 
                                                            
                                    | 441 |  |         } | 
                                                            
                                    | 442 |  |         elseif ( isset( $options[ $type . '_attributes' ] ) && is_array( $options[ $type . '_attributes' ] ) && !empty( $options[ $type . '_attributes' ] ) ) | 
                                                            
                                    | 443 |  |             $attributes = array_merge( $attributes, $options[ $type . '_attributes' ] ); | 
                                                                        
                 
                                                            
                    
classes/PodsMeta.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 1284-1285 (lines=2) @@ | 
                                                            
                                    | 1281 |  |             return $post; | 
                                                            
                                    | 1282 |  | 		} | 
                                                            
                                    | 1283 |  |  | 
                                                            
                                    | 1284 |  |         if ( is_array( $post ) && !empty( $post ) && isset( $post[ 'ID' ] ) && 'attachment' == $post[ 'post_type' ] ) | 
                                                            
                                    | 1285 |  |             $post_id = $post[ 'ID' ]; | 
                                                            
                                    | 1286 |  |  | 
                                                            
                                    | 1287 |  |         if ( is_array( $post_id ) || empty( $post_id ) ) | 
                                                            
                                    | 1288 |  |             return $post; |