woocommerce_set_customer_auth_cookie()
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_set_customer_auth_cookie( $customer_id );
- $customer_id(required)
- .
Changelog
| Deprecated since | 3.0 |
woocommerce_set_customer_auth_cookie() woocommerce set customer auth cookie code WC 10.6.2
function woocommerce_set_customer_auth_cookie( $customer_id ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_set_customer_auth_cookie' );
wc_set_customer_auth_cookie( $customer_id );
}