classes/Pods.php 1 location
|
@@ 3572-3577 (lines=6) @@
|
3569 |
|
*/ |
3570 |
|
private function process_magic_tags ( $tag ) { |
3571 |
|
|
3572 |
|
if ( is_array( $tag ) ) { |
3573 |
|
if ( !isset( $tag[ 2 ] ) && strlen( trim( $tag[ 2 ] ) ) < 1 ) |
3574 |
|
return ''; |
3575 |
|
|
3576 |
|
$tag = $tag[ 2 ]; |
3577 |
|
} |
3578 |
|
|
3579 |
|
$tag = trim( $tag, ' {@}' ); |
3580 |
|
$tag = explode( ',', $tag ); |
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
|
@@ 1522-1528 (lines=7) @@
|
1519 |
|
global $wpdb; |
1520 |
|
|
1521 |
|
// Handle pods_evaluate_tags |
1522 |
|
if ( is_array( $tag ) ) { |
1523 |
|
if ( !isset( $tag[ 2 ] ) && strlen( trim( $tag[ 2 ] ) ) < 1 ) { |
1524 |
|
return ''; |
1525 |
|
} |
1526 |
|
|
1527 |
|
$tag = $tag[ 2 ]; |
1528 |
|
} |
1529 |
|
|
1530 |
|
$tag = trim( $tag, ' {@}' ); |
1531 |
|
$tag = explode( '.', $tag ); |
classes/fields/file.php 1 location
|
@@ 390-391 (lines=2) @@
|
387 |
|
$title = false; |
388 |
|
|
389 |
|
if ( is_array( $id ) ) { |
390 |
|
if ( isset( $id[ 'title' ] ) && 0 < strlen( trim( $id[ 'title' ] ) ) ) |
391 |
|
$title = trim( $id[ 'title' ] ); |
392 |
|
|
393 |
|
if ( isset( $id[ 'id' ] ) ) |
394 |
|
$id = (int) $id[ 'id' ]; |