Title: Include hidden products?
Last modified: April 3, 2025

---

# Include hidden products?

 *  Resolved [bilievesser](https://wordpress.org/support/users/bilievesser/)
 * (@bilievesser)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/include-hidden-products/)
 * I have some products which have catalog visibility set to hidden. They are not
   appearing in my feeds, even though I want them to.
 * This seems to be a changed behaviour from before, as per this page [https://adtribes.io/knowledge-base/how-to-exclude-hidden-products-from-your-product-feed/](https://adtribes.io/knowledge-base/how-to-exclude-hidden-products-from-your-product-feed/)
 * I have tried modifying the filter linked, to work the opposite way, but without
   luck. Any ideas? I wish to include products regardless of visibility, both hidden
   and not hidden. Thanks!

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

 *  Plugin Support [Jeff Alvarez](https://wordpress.org/support/users/superlemon1998/)
 * (@superlemon1998)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/include-hidden-products/#post-18398711)
 * Hi [@bilievesser](https://wordpress.org/support/users/bilievesser/)
 * We’ve changed how our plugin works with hidden products, right now it will always
   be hidden. You can change this with the following snippet:
 *     ```wp-block-code
       add_filter( 'adt_product_feed_get_products_query_args', function( $query_args ) {    // Remove the tax_query filter for 'exclude-from-catalog' or 'exclude-from-search'    if ( isset( $query_args['tax_query'] ) && is_array( $query_args['tax_query'] ) ) {        $query_args['tax_query'] = array_filter( $query_args['tax_query'], function( $tax ) {            return ! (                isset( $tax['taxonomy'], $tax['terms'] ) &&                $tax['taxonomy'] === 'product_visibility' &&                array_intersect( $tax['terms'], [ 'exclude-from-catalog', 'exclude-from-search' ] )            );        });    }    return $query_args;});
       ```
   
    -  This reply was modified 1 year, 1 month ago by [Jeff Alvarez](https://wordpress.org/support/users/superlemon1998/).
 *  Thread Starter [bilievesser](https://wordpress.org/support/users/bilievesser/)
 * (@bilievesser)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/include-hidden-products/#post-18400306)
 * Thank you! Works great 🙂

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

The topic ‘Include hidden products?’ is closed to new replies.

 * ![](https://ps.w.org/woo-product-feed-pro/assets/icon-256x256.png?rev=3111496)
 * [Product Feed PRO for WooCommerce by AdTribes – Product Feeds for WooCommerce](https://wordpress.org/plugins/woo-product-feed-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-product-feed-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-product-feed-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-product-feed-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-product-feed-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-product-feed-pro/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [bilievesser](https://wordpress.org/support/users/bilievesser/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/include-hidden-products/#post-18400306)
 * Status: resolved