| @@ 191-197 (lines=7) @@ | ||
| 188 | $args = wp_parse_args( $args, $defaults ); |
|
| 189 | ||
| 190 | $names = array(); |
|
| 191 | foreach( $args['prefixes'] as $p ) { |
|
| 192 | $found = $this->get_fields( $p ); |
|
| 193 | if ( $found ) { |
|
| 194 | foreach( $found as $f ) { |
|
| 195 | $names[] = $f; |
|
| 196 | } |
|
| 197 | } |
|
| 198 | } |
|
| 199 | ||
| 200 | if ( empty( $names ) ) { |
|
| @@ 293-299 (lines=7) @@ | ||
| 290 | $args = wp_parse_args( $args, $defaults ); |
|
| 291 | ||
| 292 | $tags = array(); |
|
| 293 | foreach( $args['prefixes'] as $p ) { |
|
| 294 | $found = $this->get_fields( $p ); |
|
| 295 | if ( $found ) { |
|
| 296 | foreach( $found as $f ) { |
|
| 297 | $tags[] = $f; |
|
| 298 | } |
|
| 299 | } |
|
| 300 | } |
|
| 301 | ||
| 302 | if ( empty( $tags ) ) { |
|