[wcj_order_status_label]

Display WooCommerce order status label

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 3.2.5 and WordPress 4.9.1
Plugin can be downloaded here. If there are any locked fields in the module, you will need to get Booster Plus to unlock them.

Leave a Reply

No comments yet.