wc_user_search_columns()
Add support for searching by display_name.
No Hooks.
Return
Array
.
Usage
wc_user_search_columns( $search_columns );
- $search_columns(array) (required)
- Column names.
Changelog
Since 3.2.0 | Introduced. |
wc_user_search_columns() wc user search columns code WC 9.4.2
function wc_user_search_columns( $search_columns ) { $search_columns[] = 'display_name'; return $search_columns; }