| @@ 199-205 (lines=7) @@ | ||
| 196 | $args = wp_parse_args( $args, $defaults ); |
|
| 197 | ||
| 198 | $names = array(); |
|
| 199 | foreach( $args['prefixes'] as $p ) { |
|
| 200 | $found = $this->get_fields( $p ); |
|
| 201 | if ( $found ) { |
|
| 202 | foreach( $found as $f ) { |
|
| 203 | $names[] = $f; |
|
| 204 | } |
|
| 205 | } |
|
| 206 | } |
|
| 207 | ||
| 208 | if ( empty( $names ) ) { |
|
| @@ 301-307 (lines=7) @@ | ||
| 298 | $args = wp_parse_args( $args, $defaults ); |
|
| 299 | ||
| 300 | $tags = array(); |
|
| 301 | foreach( $args['prefixes'] as $p ) { |
|
| 302 | $found = $this->get_fields( $p ); |
|
| 303 | if ( $found ) { |
|
| 304 | foreach( $found as $f ) { |
|
| 305 | $tags[] = $f; |
|
| 306 | } |
|
| 307 | } |
|
| 308 | } |
|
| 309 | ||
| 310 | if ( empty( $tags ) ) { |
|