|
@@ 567-569 (lines=3) @@
|
| 564 |
|
if ( ! empty( $atts['cats'] ) || ! empty( $atts['tags'] ) || ! empty( $atts['ids'] ) ) { |
| 565 |
|
|
| 566 |
|
$form_ids = array(); |
| 567 |
|
if ( ! empty( $atts['ids'] ) ) { |
| 568 |
|
$form_ids = array_filter( array_map( 'trim', explode( ',', $atts['ids'] ) ) ); |
| 569 |
|
} |
| 570 |
|
|
| 571 |
|
/** |
| 572 |
|
* Filter to modify WP Query for Total Goal. |
|
@@ 809-811 (lines=3) @@
|
| 806 |
|
} |
| 807 |
|
|
| 808 |
|
// Maybe filter forms by IDs. |
| 809 |
|
if ( ! empty( $atts['ids'] ) ) { |
| 810 |
|
$form_args['post__in'] = array_filter( array_map( 'trim', explode( ',', $atts['ids'] ) ) ); |
| 811 |
|
} |
| 812 |
|
|
| 813 |
|
// Convert comma-separated form IDs into array. |
| 814 |
|
if ( ! empty( $atts['exclude'] ) ) { |