Can I get thumbnail of taxonomy?

you can use advanced custom field plugin for better use // get the current taxonomy term $term = get_queried_object(); // here is the taxonomy image $image = get_field(‘image’, $term); Or You can use free plugin in your template URL: https://wordpress.org/plugins/wp-custom-taxonomy-image/ if (function_exists(‘get_wp_term_image’)) { $meta_image = get_wp_term_image($term_id); //It will give category/term image url } echo $meta_image; … Read more

Get WooCommerce product category list in functions.php

You need to use action to get categories. in init action you can get product categories. add_action(‘init’, ‘my_product_cat’); function my_product_cat() { $woo_cat_args = array( ‘taxonomy’ => ‘product_cat’, ‘orderby’ => ‘name’, ‘hide_empty’ => 0, ); $woo_categories = get_categories( $woo_cat_args ); echo “<pre>”; print_r($woo_categories); echo “</pre>”; }