woocommerce_customer_bought_product()
Deprecated since 3.0. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.
No Hooks.
Returns
null. Nothing (null).
Usage
woocommerce_customer_bought_product( $customer_email, $user_id, $product_id );
- $customer_email(required)
- .
- $user_id(required)
- .
- $product_id(required)
- .
Changelog
| Deprecated since | 3.0 |
woocommerce_customer_bought_product() woocommerce customer bought product code WC 10.5.0
function woocommerce_customer_bought_product( $customer_email, $user_id, $product_id ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_customer_bought_product' );
return wc_customer_bought_product( $customer_email, $user_id, $product_id );
}