classes/PodsUI.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 3946-3951 (lines=6) @@ | 
                                                            
                                    | 3943 |  |      * @return string | 
                                                            
                                    | 3944 |  |      */ | 
                                                            
                                    | 3945 |  |     public function do_magic_tags ( $tag ) { | 
                                                            
                                    | 3946 |  |         if ( is_array( $tag ) ) { | 
                                                            
                                    | 3947 |  |             if ( !isset( $tag[ 2 ] ) && strlen( trim( $tag[ 2 ] ) ) < 1 ) | 
                                                            
                                    | 3948 |  |                 return ''; | 
                                                            
                                    | 3949 |  |  | 
                                                            
                                    | 3950 |  |             $tag = $tag[ 2 ]; | 
                                                            
                                    | 3951 |  |         } | 
                                                            
                                    | 3952 |  |  | 
                                                            
                                    | 3953 |  |         $tag = trim( $tag, ' {@}' ); | 
                                                            
                                    | 3954 |  |         $tag = explode( ',', $tag ); | 
                                                                        
                 
                                                            
                    
includes/data.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 1562-1568 (lines=7) @@ | 
                                                            
                                    | 1559 |  | 	global $wpdb; | 
                                                            
                                    | 1560 |  |  | 
                                                            
                                    | 1561 |  | 	// Handle pods_evaluate_tags | 
                                                            
                                    | 1562 |  | 	if ( is_array( $tag ) ) { | 
                                                            
                                    | 1563 |  | 		if ( !isset( $tag[ 2 ] ) && strlen( trim( $tag[ 2 ] ) ) < 1 ) { | 
                                                            
                                    | 1564 |  | 			return ''; | 
                                                            
                                    | 1565 |  | 		} | 
                                                            
                                    | 1566 |  |  | 
                                                            
                                    | 1567 |  | 		$tag = $tag[ 2 ]; | 
                                                            
                                    | 1568 |  | 	} | 
                                                            
                                    | 1569 |  |  | 
                                                            
                                    | 1570 |  | 	$tag = trim( $tag, ' {@}' ); | 
                                                            
                                    | 1571 |  | 	$tag = explode( '.', $tag ); | 
                                                                        
                 
                                                            
                    
classes/fields/file.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 409-410 (lines=2) @@ | 
                                                            
                                    | 406 |  |             $title = false; | 
                                                            
                                    | 407 |  |  | 
                                                            
                                    | 408 |  |             if ( is_array( $id ) ) { | 
                                                            
                                    | 409 |  |                 if ( isset( $id[ 'title' ] ) && 0 < strlen( trim( $id[ 'title' ] ) ) ) | 
                                                            
                                    | 410 |  |                     $title = trim( $id[ 'title' ] ); | 
                                                            
                                    | 411 |  |  | 
                                                            
                                    | 412 |  |                 if ( isset( $id[ 'id' ] ) ) | 
                                                            
                                    | 413 |  |                     $id = (int) $id[ 'id' ]; | 
                                                                        
                 
                                                            
                    
classes/Pods.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 3584-3589 (lines=6) @@ | 
                                                            
                                    | 3581 |  | 	 */ | 
                                                            
                                    | 3582 |  | 	private function process_magic_tags ( $tag ) { | 
                                                            
                                    | 3583 |  |  | 
                                                            
                                    | 3584 |  | 		if ( is_array( $tag ) ) { | 
                                                            
                                    | 3585 |  | 			if ( !isset( $tag[ 2 ] ) && strlen( trim( $tag[ 2 ] ) ) < 1 ) | 
                                                            
                                    | 3586 |  | 				return ''; | 
                                                            
                                    | 3587 |  |  | 
                                                            
                                    | 3588 |  | 			$tag = $tag[ 2 ]; | 
                                                            
                                    | 3589 |  | 		} | 
                                                            
                                    | 3590 |  |  | 
                                                            
                                    | 3591 |  | 		$tag = trim( $tag, ' {@}' ); | 
                                                            
                                    | 3592 |  | 		$tag = explode( ',', $tag ); |