mfields/Taxonomy-Images — Issue #6: Return terms if no associations are made
Author: jamiemchale
Created: 2011-12-12 10:46:57+00:00
State: open

If the 'taxonomy-images-get-terms' filter is used when there are no associations between taxonomies and images then no terms are returned.

Could this return a list of terms with '0' as the image ID so that the theme can switch to a default generic image?

*Of course, the other way to handle this is to check for an empty array and then just use get_terms in the theme - but I think that returning a list of terms is expected behaviour, and means fewer steps in the theme*