includes/donors/class-give-donors-query.php 1 location
|
@@ 233-235 (lines=3) @@
|
| 230 |
|
if ( ! empty( $this->args['fields'] ) && 'all' !== $this->args['fields'] ) { |
| 231 |
|
if ( is_string( $this->args['fields'] ) ) { |
| 232 |
|
$fields = "{$this->table_name}.{$this->args['fields']}"; |
| 233 |
|
} elseif ( is_array( $this->args['fields'] ) ) { |
| 234 |
|
$fields = "{$this->table_name}." . implode( " , {$this->table_name}.", $this->args['fields'] ); |
| 235 |
|
} |
| 236 |
|
} |
| 237 |
|
|
| 238 |
|
// Set count. |
includes/payments/class-payments-query.php 1 location
|
@@ 826-828 (lines=3) @@
|
| 823 |
|
if ( ! empty( $this->args['fields'] ) && 'all' !== $this->args['fields'] ) { |
| 824 |
|
if ( is_string( $this->args['fields'] ) ) { |
| 825 |
|
$fields = "{$wpdb->posts}.{$this->args['fields']}"; |
| 826 |
|
} elseif ( is_array( $this->args['fields'] ) ) { |
| 827 |
|
$fields = "{$wpdb->posts}." . implode( " , {$wpdb->posts}.", $this->args['fields'] ); |
| 828 |
|
} |
| 829 |
|
} |
| 830 |
|
|
| 831 |
|
// Set count. |