Loader::get_user_data_fields()
We store some WooCommerce specific user meta attached to users endpoint, so that we can track certain preferences or values such as the inbox activity panel last open time.
Description Description
Additional fields can be added in the function below, and then used via wc-admin’s currentUser data.
Return Return
(array) Fields to expose over the WP user endpoint.
Source Source
File: packages/woocommerce-admin/src/Loader.php