Merge pull request #6463 from tivnet/patch-2
Adding "global" docblock for proper code validation
This commit is contained in:
commit
ca8feecdde
|
@ -11,6 +11,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
exit; // Exit if accessed directly
|
||||
}
|
||||
|
||||
/** @global WC_Checkout $checkout */
|
||||
?>
|
||||
<div class="woocommerce-billing-fields">
|
||||
<?php if ( WC()->cart->ship_to_billing_address_only() && WC()->cart->needs_shipping() ) : ?>
|
||||
|
|
Loading…
Reference in New Issue