title: WooCommerce - Check if the products in a specific order are Featured
body: <p>I am trying to display a specific string with respect to a certain list of "Processing" orders that contain "Featured" product(s).</p>
  
  <p>More precisely, I want to echo a message when 2 conditions are cumulatively met:</p>
  
  <p>1) the order status is "processing"; and</p>
  
  <p>2) ALL the products in that respective order are marked as "Featured". </p>
  
  <p>In other words, once all the ordered products are manually marked by me as "Featured", a specific message should be echoed on my user's account page.</p>
  
  <p>My code so far (but not giving me the desired result):</p>
  
  
  
  <pre><code>    &lt;?php 
  
    foreach ( $order_summary as $order ) :
  
                              $order      = wc_get_order( $order-&gt;order_id );
                              $order_id       = $order-&gt;get_id();
                              $order_items    = get_products_for_order( $order_id );
  
                          if ( $order-&gt;get_status() == 'processing' ) {
                              if ( $order_items-&gt;is_featured() ) {
                                  echo 'Something';
                              } else {
                                  echo 'Something else';
                              }
                          }
  
      ?&gt;
  </code></pre>
  
  
  
  <p>I'm not sure how to properly check if there are (or aren't) "Featured" products in the respective order. </p>
  
  <p>Any ideas?</p>