Taxonomy Images
Edge case regarding taxonomy-images-get-terms and having_images => false (1 post)

  1. Alexandre Simard
    Posted 3 years ago #

    When using the taxonomy-images-get-terms filter with the optional argument having_images to false, I would expect all terms in a taxonomy to be returned. I've run into a case where this doesn't work. If the plugin is activated but no image association at all has been made yet, then the filter always returns an empty array.

    I believe the following lines should be removed from the taxonomy_images_plugin_get_terms function:

    if ( empty( $assoc ) ) {
        return array();

    Thanks in advance!


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Taxonomy Images
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by Alexandre Simard
  • This topic is not resolved
  • WordPress version: 3.4.2


No tags yet.