|
@@ 1850-1852 (lines=3) @@
|
| 1847 |
|
die(); |
| 1848 |
|
} |
| 1849 |
|
|
| 1850 |
|
if ( ! empty( $_GET['exclude'] ) ) { |
| 1851 |
|
$exclude = array_map( 'intval', explode( ',', $_GET['exclude'] ) ); |
| 1852 |
|
} |
| 1853 |
|
|
| 1854 |
|
$found_products = array(); |
| 1855 |
|
|
|
@@ 1910-1912 (lines=3) @@
|
| 1907 |
|
$term = (string) wc_clean( stripslashes( $_GET['term'] ) ); |
| 1908 |
|
$exclude = array(); |
| 1909 |
|
|
| 1910 |
|
if ( ! empty( $_GET['exclude'] ) ) { |
| 1911 |
|
$exclude = array_map( 'intval', explode( ',', $_GET['exclude'] ) ); |
| 1912 |
|
} |
| 1913 |
|
|
| 1914 |
|
$args = array( |
| 1915 |
|
'post_type' => array( 'product', 'product_variation' ), |