fbpx

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

Examples

[wcj_order_status_label before="Order status: "]
Accessible through:
  • [wcj_order_status_label]
Tested on WooCommerce 5.3.0 and WordPress 5.7.2