includes/api/class-wc-api-resource.php 1 location
|
@@ 203-206 (lines=4) @@
|
| 200 |
|
} |
| 201 |
|
|
| 202 |
|
// filter by a list of post id |
| 203 |
|
if ( ! empty( $request_args['in'] ) ) { |
| 204 |
|
$args['post__in'] = explode( ',', $request_args['in'] ); |
| 205 |
|
unset( $request_args['in'] ); |
| 206 |
|
} |
| 207 |
|
|
| 208 |
|
// exclude by a list of post id |
| 209 |
|
if ( ! empty( $request_args['not_in'] ) ) { |
includes/cli/class-wc-cli-command.php 1 location
|
@@ 90-93 (lines=4) @@
|
| 87 |
|
} |
| 88 |
|
|
| 89 |
|
// filter by a list of post ids |
| 90 |
|
if ( ! empty( $assoc_args['in'] ) ) { |
| 91 |
|
$args['post__in'] = explode( ',', $assoc_args['in'] ); |
| 92 |
|
unset( $assoc_args['in'] ); |
| 93 |
|
} |
| 94 |
|
|
| 95 |
|
// exclude by a list of post ids |
| 96 |
|
if ( ! empty( $assoc_args['not_in'] ) ) { |