fbpx

Description

[wcj_order_meta] shortcode displays any WooCommerce order’s meta by key name. For example you can use it in Booster’s PDF invoice template to display any (even third party plugin’s) meta.

Args


meta_key
(required) Meta key.
Default: None

before
(optional) Text to place before the content. If content is empty this argument is ignored.
Default: None

after
(optional) Text to place after the content. If content is empty this argument is ignored.
Default: None

Example

[wcj_order_meta meta_key="_your_key" before="My key: "]
Accessible through:
  • [wcj_order_meta]
Tested on WooCommerce 4.6.2 and WordPress 5.5.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.