This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
Wish_List::is_product_in_wishlist( int $product_id )
Checks if the product is in the wishlist.
Parameters
- $product_id
-
(Required) the product id.
Return
(bool)
Source
File: includes/modules/woocommerce_booster/views/wish_list.php
Expand full source code Collapse full source code View on Github