Fixed WC_AJAX::get_customer_details() filter deprecated message
This commit is contained in:
parent
984edf07d2
commit
1fe791d7d8
|
@ -726,7 +726,7 @@ class WC_AJAX {
|
|||
$customer = new WC_Customer( $user_id );
|
||||
|
||||
if ( has_filter( 'woocommerce_found_customer_details' ) ) {
|
||||
wc_deprecated_function( 'The woocommerce_found_customer_details filter', '3.0', 'woocommerce_found_customer_details' );
|
||||
wc_deprecated_function( 'The woocommerce_found_customer_details filter', '3.0', 'woocommerce_ajax_get_customer_details' );
|
||||
}
|
||||
|
||||
$data = $customer->get_data();
|
||||
|
|
Loading…
Reference in New Issue