WordPress.org

Ready to get started?Download WordPress

Forums

If product category is... (1 post)

  1. isaakgeo
    Member
    Posted 9 months ago #

    Hello,

    In Woocommerce, I want to display a message in every product that belongs to a certain category, but also make this work even if the product belongs to other categories as well.

    Therefore (is_product_category( 'category-name' )) is not enough because i need something like (is_product_category_INCLUDES( 'category-name' ))...

    How can this be done?

    Thank you

Reply

You must log in to post.

About this Topic