Title: [Plugin: Taxonomy Images] Hide_empty
Last modified: August 20, 2016

---

# [Plugin: Taxonomy Images] Hide_empty

 *  [salocined](https://wordpress.org/support/users/salocined/)
 * (@salocined)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-taxonomy-images-hide_empty/)
 * Great plugin thank you.
 * I am trying NOT to hide empty, like it’s possible with get_terms.
    So I need 
   ALL terms to be displayed, even if empty.
 * I have this
    `$terms = apply_filters( 'taxonomy-images-get-terms', '', array('
   cat' => '1', 'post_type' => array( 'post','dvd'),'taxonomy'=> 'theme'));`
 * Which works great, but where will I apply the Hide_empty argument?
 * Thx
    S
 * [http://wordpress.org/extend/plugins/taxonomy-images/](http://wordpress.org/extend/plugins/taxonomy-images/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Michael Fields](https://wordpress.org/support/users/mfields/)
 * (@mfields)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-taxonomy-images-hide_empty/#post-2227548)
 * Anything added to the `term_args`argument will be passed – unmodified – to get_terms().
 * **From the docs:**
 * term_args (array) Arguments to pass to get_terms() as the second parameter. Default
   value is an empty array.
 *  Thread Starter [salocined](https://wordpress.org/support/users/salocined/)
 * (@salocined)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-taxonomy-images-hide_empty/#post-2227582)
 * THanks Michael, sorry to bother, but I have tried few things without results.
   
   Can you be more specific? Where does the argument hide empty should be passed
   and how?
 * Like this?
    `$terms = apply_filters( 'taxonomy-images-get-terms', 'HERE?', array());`
 * or
    `$terms = apply_filters( 'taxonomy-images-get-terms', '', array(HERE?));`
 * or Like that
    `$terms = apply_filters( 'taxonomy-images-get-terms', 'HERE?', 
   array(HERE?));`
 * HERE being
    `array('hide_empty' =>0)`
 * thx
    s

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Taxonomy Images] Hide_empty’ is closed to new replies.

 * ![](https://ps.w.org/taxonomy-images/assets/icon-256x256.png?rev=1283547)
 * [Taxonomy Images](https://wordpress.org/plugins/taxonomy-images/)
 * [Support Threads](https://wordpress.org/support/plugin/taxonomy-images/)
 * [Active Topics](https://wordpress.org/support/plugin/taxonomy-images/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/taxonomy-images/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/taxonomy-images/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [salocined](https://wordpress.org/support/users/salocined/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-taxonomy-images-hide_empty/#post-2227582)
 * Status: not resolved