Support

Account

Home Forums General Issues Query cpt then echo if relationship exists Reply To: Query cpt then echo if relationship exists

  • Try this

    
    <?php 
        if( !empty($addons_included_ids) && is_array($addons_included_ids) && in_array($addon->ID, $addons_included_ids) ): ?>