I hereby claim:
- I am curiopraxis on github.
- I am curiopraxis (https://keybase.io/curiopraxis) on keybase.
- I have a public key ASA4zZ0otC12-LfPlgVwBIYcQm9zYynVXCrUSUpfDLQa5go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
/** | |
* Disables repeat purchase for the product | |
* | |
* @param bool $purchasable true if product can be purchased | |
* @param \WC_Product $product the WooCommerce product | |
* @return bool $purchasable the updated is_purchasable check | |
*/ | |
function sv_disable_repeat_purchase( $purchasable, $product ) { |