Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $meta = get_metadata( 'woocommerce_term', $term_id );
- $thumb_id = $meta['thumbnail_id'][0];
- echo wp_get_attachment_image( $thumb_id, 'medium' );
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement