What field name is customer’s full name like “John Smith”
-
Hi,
Mike Jolley had mentioned that in 3.0 “we added a new search index which actually saves the name string “John Doe” to a new field which is then searchable without so much performance impact. The downside is this cannot be applied retrospectively to past orders. So when doing these types of search, only new and updated orders will be shown.”
Is the searchable full name like “John Doe” that you referred to in WooCommerce 3.0 now placed in the “display_name” column in “wp_users”?
And is that column built from the wp_postmeta table of the columns _billing_first_name + “ “ + _billing_last_name?
This can help us write some PHP to retroactively scans past orders and updates their display_name field.
Thanks!
- The topic ‘What field name is customer’s full name like “John Smith”’ is closed to new replies.