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 5.2.2 and WordPress 5.7.1