classes/fields/file.php 1 location
|
@@ 647-648 (lines=2) @@
|
| 644 |
|
$title = false; |
| 645 |
|
|
| 646 |
|
if ( is_array( $id ) ) { |
| 647 |
|
if ( isset( $id['title'] ) && 0 < strlen( trim( $id['title'] ) ) ) { |
| 648 |
|
$title = trim( $id['title'] ); |
| 649 |
|
} |
| 650 |
|
|
| 651 |
|
if ( isset( $id['id'] ) ) { |
classes/PodsUI.php 1 location
|
@@ 4144-4149 (lines=6) @@
|
| 4141 |
|
* @return string |
| 4142 |
|
*/ |
| 4143 |
|
public function do_magic_tags ( $tag ) { |
| 4144 |
|
if ( is_array( $tag ) ) { |
| 4145 |
|
if ( !isset( $tag[ 2 ] ) && strlen( trim( $tag[ 2 ] ) ) < 1 ) |
| 4146 |
|
return ''; |
| 4147 |
|
|
| 4148 |
|
$tag = $tag[ 2 ]; |
| 4149 |
|
} |
| 4150 |
|
|
| 4151 |
|
$tag = trim( $tag, ' {@}' ); |
| 4152 |
|
$tag = explode( ',', $tag ); |
classes/Pods.php 1 location
|
@@ 3632-3637 (lines=6) @@
|
| 3629 |
|
*/ |
| 3630 |
|
private function process_magic_tags ( $tag ) { |
| 3631 |
|
|
| 3632 |
|
if ( is_array( $tag ) ) { |
| 3633 |
|
if ( !isset( $tag[ 2 ] ) && strlen( trim( $tag[ 2 ] ) ) < 1 ) |
| 3634 |
|
return ''; |
| 3635 |
|
|
| 3636 |
|
$tag = $tag[ 2 ]; |
| 3637 |
|
} |
| 3638 |
|
|
| 3639 |
|
$tag = trim( $tag, ' {@}' ); |
| 3640 |
|
$tag = explode( ',', $tag ); |
includes/data.php 1 location
|
@@ 1540-1546 (lines=7) @@
|
| 1537 |
|
global $wpdb; |
| 1538 |
|
|
| 1539 |
|
// Handle pods_evaluate_tags |
| 1540 |
|
if ( is_array( $tag ) ) { |
| 1541 |
|
if ( !isset( $tag[ 2 ] ) && strlen( trim( $tag[ 2 ] ) ) < 1 ) { |
| 1542 |
|
return ''; |
| 1543 |
|
} |
| 1544 |
|
|
| 1545 |
|
$tag = $tag[ 2 ]; |
| 1546 |
|
} |
| 1547 |
|
|
| 1548 |
|
$tag = trim( $tag, ' {@}' ); |
| 1549 |
|
$tag = explode( '.', $tag ); |