Fixed WC_AJAX::get_customer_details() filter deprecated message

This commit is contained in:
Claudio Sanches 2017-04-03 02:59:04 -03:00
parent 984edf07d2
commit 1fe791d7d8
1 changed files with 1 additions and 1 deletions

View File

@ -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();