e4b092fe10
Instead of checking against a list of valid order statuses, use the needs_payment function which already checks against those statuses |
||
---|---|---|
.. | ||
class-wc-shortcode-cart.php | ||
class-wc-shortcode-checkout.php | ||
class-wc-shortcode-my-account.php | ||
class-wc-shortcode-order-tracking.php |