I installed <a href="https://wordpress.org/plugins/taxonomy-images/" rel="nofollow">Taxonomy Images</a> plugin and added images to one of my attributes, but I can't get them to be shown in template. When I var_dump the $result of:
I get an empty string.
I can get the value of attribute by:
But there's only string, not an object.
How can I get it to work?
Code:
$result = apply_filters( 'taxonomy-images-queried-term-image', '' );
I get an empty string.
I can get the value of attribute by:
Code:
$product->get_attribute( 'logo' );
But there's only string, not an object.
How can I get it to work?