Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wc php product_cat thumbnail

$thumbnail_id = get_woocommerce_term_meta( $cat->term_id, 'thumbnail_id', true );
$image = wp_get_attachment_url( $thumbnail_id );
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #wc #php #thumbnail
ADD COMMENT
Topic
Name
6+5 =