@@ 626-628 (lines=3) @@ | ||
623 | if ( ! empty( $atts['cats'] ) || ! empty( $atts['tags'] ) || ! empty( $atts['ids'] ) ) { |
|
624 | ||
625 | $form_ids = array(); |
|
626 | if ( ! empty( $atts['ids'] ) ) { |
|
627 | $form_ids = array_filter( array_map( 'trim', explode( ',', $atts['ids'] ) ) ); |
|
628 | } |
|
629 | ||
630 | /** |
|
631 | * Filter to modify WP Query for Total Goal. |
|
@@ 864-866 (lines=3) @@ | ||
861 | } |
|
862 | ||
863 | // Maybe filter forms by IDs. |
|
864 | if ( ! empty( $atts['ids'] ) ) { |
|
865 | $form_args['post__in'] = array_filter( array_map( 'trim', explode( ',', $atts['ids'] ) ) ); |
|
866 | } |
|
867 | ||
868 | // Convert comma-separated form IDs into array. |
|
869 | if ( ! empty( $atts['exclude'] ) ) { |