classes/fields/file.php 1 location
|
@@ 383-384 (lines=2) @@
|
380 |
|
$title = false; |
381 |
|
|
382 |
|
if ( is_array( $id ) ) { |
383 |
|
if ( isset( $id[ 'title' ] ) && 0 < strlen( trim( $id[ 'title' ] ) ) ) |
384 |
|
$title = trim( $id[ 'title' ] ); |
385 |
|
|
386 |
|
if ( isset( $id[ 'id' ] ) ) |
387 |
|
$id = (int) $id[ 'id' ]; |
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 ); |
classes/Pods.php 1 location
|
@@ 3580-3585 (lines=6) @@
|
3577 |
|
*/ |
3578 |
|
private function process_magic_tags ( $tag ) { |
3579 |
|
|
3580 |
|
if ( is_array( $tag ) ) { |
3581 |
|
if ( !isset( $tag[ 2 ] ) && strlen( trim( $tag[ 2 ] ) ) < 1 ) |
3582 |
|
return ''; |
3583 |
|
|
3584 |
|
$tag = $tag[ 2 ]; |
3585 |
|
} |
3586 |
|
|
3587 |
|
$tag = trim( $tag, ' {@}' ); |
3588 |
|
$tag = explode( ',', $tag ); |
includes/data.php 1 location
|
@@ 1523-1529 (lines=7) @@
|
1520 |
|
global $wpdb; |
1521 |
|
|
1522 |
|
// Handle pods_evaluate_tags |
1523 |
|
if ( is_array( $tag ) ) { |
1524 |
|
if ( !isset( $tag[ 2 ] ) && strlen( trim( $tag[ 2 ] ) ) < 1 ) { |
1525 |
|
return ''; |
1526 |
|
} |
1527 |
|
|
1528 |
|
$tag = $tag[ 2 ]; |
1529 |
|
} |
1530 |
|
|
1531 |
|
$tag = trim( $tag, ' {@}' ); |
1532 |
|
$tag = explode( '.', $tag ); |