fbpx

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 4.5.2 and WordPress 5.5.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.