fbpx

Description

[wcj_order_id] shortcode displays WooCommerce order ID. Please note that “raw” order ID will be displayed. If you need order number formatted according to settings set in Order Numbers module, you should use [wcj_order_number] instead.

Args

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

Order ID: [wcj_order_id]
Recommended for PDF Invoicing and Packing Slips module
Accessible through:
  • [wcj_order_id]
Tested on WooCommerce 8.5.1 and WordPress 6.4.2