Description
[wcj_order_status_label]
shortcode displays WooCommerce order status label.
This shortcode is similar to [wcj_order_status]
shortcode, but displays more human readable results. For example for order with pending payment status, [wcj_order_status]
will output pending
and [wcj_order_status_label]
will output Pending payment
(or corresponding translation). That is, it will output order status label instead of id.
Args
Please check shortcodes common args.
Examples
[wcj_order_status_label before="Order status: "]
Accessible through:
- [wcj_order_status_label]