title: WooCommerce 2.1 Detect Chosen Shipping Method
body: <p>I'd been using the following to decide if a checkout field needed to be complete or not...</p>
  
  <pre><code>if ($posted['shipping_method'] == "local_pickup_plus") {
  }
  </code></pre>
  
  <p>Since updating to WooCommerce 2.1, my code no longer works.</p>
  
  <p>I've tried to echo the value stored in $posted['shipping_method'] to see if I'm checking it against the correct value, but it appears nothing is stored in this variable anymore.</p>
  
  <p>I've been looking for other methods of checking the chosen shipping method, but I'm not getting very far.</p>
  
  <p>Any assistance would be greatly appreciated.</p>