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 5.5.2 and WordPress 5.8