Function wc_protected_product_add_to_cart
Prevent password protected products being added to the cart
Parameters summary
boolean |
$passed |
|
integer |
$product_id |
Return value summary
boolean
|
Prevent password protected products being added to the cart
boolean |
$passed |
|
integer |
$product_id |
boolean
|