Merge pull request #10530 from ConfusedTA/patch-1
Add filter to output from json_search_customers
This commit is contained in:
commit
b4f4e3c7ab
|
@ -2020,6 +2020,8 @@ class WC_AJAX {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
$found_customers = apply_filters( 'woocommerce_json_search_found_customers', $found_customers );
|
||||
|
||||
wp_send_json( $found_customers );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue