Woocommerce not using the right templates [duplicate]

This question already has answers here: Changes on archive-product.php doesn't work (7 answers) Woocommerce archive-product.php overwrite not working with underscores.me theme (1 answer) Overriding template via the theme does not work in Woocommerce (1 answer) Override Woocommerce Elements (3 answers) Closed 19 hours ago. I'm having some template hierarchy issues trying to add woocommerce to […]

Add a custom column to admin users list displaying custom user metadata

I have added a custom meta field to users called "customer_code". This all works and stores the information just fine. I have added the "Customer Code" column to the users admin page like so: add_filter('manage_users_columns', 'db_add_customer_code_column'); function db_add_customer_code_column($columns) { $columns = array_merge(array('customer_code' => 'Customer Code'), $columns); return $columns; } Again, this works just fine and […]