|
@@ 1866-1868 (lines=3) @@
|
| 1863 |
|
die(); |
| 1864 |
|
} |
| 1865 |
|
|
| 1866 |
|
if ( ! empty( $_GET['exclude'] ) ) { |
| 1867 |
|
$exclude = array_map( 'intval', explode( ',', $_GET['exclude'] ) ); |
| 1868 |
|
} |
| 1869 |
|
|
| 1870 |
|
$found_products = array(); |
| 1871 |
|
|
|
@@ 1926-1928 (lines=3) @@
|
| 1923 |
|
$term = (string) wc_clean( stripslashes( $_GET['term'] ) ); |
| 1924 |
|
$exclude = array(); |
| 1925 |
|
|
| 1926 |
|
if ( ! empty( $_GET['exclude'] ) ) { |
| 1927 |
|
$exclude = array_map( 'intval', explode( ',', $_GET['exclude'] ) ); |
| 1928 |
|
} |
| 1929 |
|
|
| 1930 |
|
$args = array( |
| 1931 |
|
'post_type' => array( 'product', 'product_variation' ), |