Getting a taxonomy’s thumbnail url

The images where setted by woocommerce,

In case someone needs, this is how I did it

$thumb_id = get_woocommerce_term_meta( $term->term_id, 'thumbnail_id', true );
$term_img = wp_get_attachment_url(  $thumb_id );

Leave a Comment