|
@@ 1874-1876 (lines=3) @@
|
| 1871 |
|
die(); |
| 1872 |
|
} |
| 1873 |
|
|
| 1874 |
|
if ( ! empty( $_GET['exclude'] ) ) { |
| 1875 |
|
$exclude = array_map( 'intval', explode( ',', $_GET['exclude'] ) ); |
| 1876 |
|
} |
| 1877 |
|
|
| 1878 |
|
$found_products = array(); |
| 1879 |
|
|
|
@@ 1934-1936 (lines=3) @@
|
| 1931 |
|
$term = (string) wc_clean( stripslashes( $_GET['term'] ) ); |
| 1932 |
|
$exclude = array(); |
| 1933 |
|
|
| 1934 |
|
if ( ! empty( $_GET['exclude'] ) ) { |
| 1935 |
|
$exclude = array_map( 'intval', explode( ',', $_GET['exclude'] ) ); |
| 1936 |
|
} |
| 1937 |
|
|
| 1938 |
|
$args = array( |
| 1939 |
|
'post_type' => array( 'product', 'product_variation' ), |