|
@@ 1686-1688 (lines=3) @@
|
| 1683 |
|
die(); |
| 1684 |
|
} |
| 1685 |
|
|
| 1686 |
|
if ( ! empty( $_GET['exclude'] ) ) { |
| 1687 |
|
$exclude = array_map( 'intval', explode( ',', $_GET['exclude'] ) ); |
| 1688 |
|
} |
| 1689 |
|
|
| 1690 |
|
$found_products = array(); |
| 1691 |
|
|
|
@@ 1746-1748 (lines=3) @@
|
| 1743 |
|
$term = (string) wc_clean( stripslashes( $_GET['term'] ) ); |
| 1744 |
|
$exclude = array(); |
| 1745 |
|
|
| 1746 |
|
if ( ! empty( $_GET['exclude'] ) ) { |
| 1747 |
|
$exclude = array_map( 'intval', explode( ',', $_GET['exclude'] ) ); |
| 1748 |
|
} |
| 1749 |
|
|
| 1750 |
|
$args = array( |
| 1751 |
|
'post_type' => array( 'product', 'product_variation' ), |