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.


Top ↑

Source Source

File: packages/woocommerce-admin/src/Loader.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.