[wcj_order_custom_field]

Display WooCommerce order custom field

Description

[wcj_order_custom_field] shortcode displays WooCommerce order custom field.

Args

name
(required) Custom field name.

Default: None
key
(optional) If field value is an array, you can additionally set array key to retrieve.

Default: None

Examples

[wcj_order_custom_field name="my_custom_field"]
[wcj_order_custom_field name="_adq_wpcf7" key="text-77" before="Field value: "]
Accessible through:
  • [wcj_order_custom_field]
Tested on WooCommerce 3.2.3 and WordPress 4.8.3
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.