|
@@ 1663-1665 (lines=3) @@
|
| 1660 |
|
die(); |
| 1661 |
|
} |
| 1662 |
|
|
| 1663 |
|
if ( ! empty( $_GET['exclude'] ) ) { |
| 1664 |
|
$exclude = array_map( 'intval', explode( ',', $_GET['exclude'] ) ); |
| 1665 |
|
} |
| 1666 |
|
|
| 1667 |
|
$found_products = array(); |
| 1668 |
|
|
|
@@ 1723-1725 (lines=3) @@
|
| 1720 |
|
$term = (string) wc_clean( stripslashes( $_GET['term'] ) ); |
| 1721 |
|
$exclude = array(); |
| 1722 |
|
|
| 1723 |
|
if ( ! empty( $_GET['exclude'] ) ) { |
| 1724 |
|
$exclude = array_map( 'intval', explode( ',', $_GET['exclude'] ) ); |
| 1725 |
|
} |
| 1726 |
|
|
| 1727 |
|
$args = array( |
| 1728 |
|
'post_type' => array( 'product', 'product_variation' ), |