title: Javascript Change function to check multiple id's
body: <p>I would like the below functions to check for multiple product id's <code>!==</code> (1427, 1428, 1429). What is the best approach?</p>
  <p>Thank you.</p>
  <pre><code>//add multistep
  add_action('wapf_before_wrapper', 'wapf_before_wrapper');
  function wapf_before_wrapper($product) {
      if($product-&gt;get_id() !==1427)
                  return;
      ?&gt;
      &lt;div class=&quot;wapf-progress&quot;&gt;
          &lt;div class=&quot;wapf-progress-bar&quot;&gt;&lt;/div&gt;
          &lt;div class=&quot;wapf-progress-steps&quot;&gt;&lt;/div&gt;
      &lt;/div&gt;
      &lt;?php
  }
  
  add_action('wapf_before_product_totals', 'wapf_before_product_totals');
  function wapf_before_product_totals($product){
      if($product-&gt;get_id() !==1427)
                  return;
      ?&gt;
      &lt;div class=&quot;wapf_step_buttons&quot;&gt;
          &lt;button class=&quot;button wapf_btn_prev&quot; style=&quot;display:none&quot;&gt;Previous&lt;/button&gt;
          &lt;button class=&quot;button wapf_btn_next&quot;&gt;Next&lt;/button&gt;
      &lt;/div&gt;
      &lt;?php
  } 
  //end multistep
  </code></pre>