includes/payments/class-payments-query.php 1 location
|
@@ 790-792 (lines=3) @@
|
| 787 |
|
if ( ! empty( $this->args['fields'] ) && 'all' !== $this->args['fields'] ) { |
| 788 |
|
if ( is_string( $this->args['fields'] ) ) { |
| 789 |
|
$fields = "{$wpdb->posts}.{$this->args['fields']}"; |
| 790 |
|
} elseif ( is_array( $this->args['fields'] ) ) { |
| 791 |
|
$fields = "{$wpdb->posts}." . implode( " , {$wpdb->posts}.", $this->args['fields'] ); |
| 792 |
|
} |
| 793 |
|
} |
| 794 |
|
|
| 795 |
|
// Set count. |
includes/donors/class-give-donors-query.php 1 location
|
@@ 220-222 (lines=3) @@
|
| 217 |
|
if ( ! empty( $this->args['fields'] ) && 'all' !== $this->args['fields'] ) { |
| 218 |
|
if ( is_string( $this->args['fields'] ) ) { |
| 219 |
|
$fields = "{$this->table_name}.{$this->args['fields']}"; |
| 220 |
|
} elseif ( is_array( $this->args['fields'] ) ) { |
| 221 |
|
$fields = "{$this->table_name}." . implode( " , {$this->table_name}.", $this->args['fields'] ); |
| 222 |
|
} |
| 223 |
|
} |
| 224 |
|
|
| 225 |
|
// Set count. |