fbpx

Description

[wcj_order_payment_method_transaction_id] shortcode displays WooCommerce order payment method transaction ID.

Args


order_id
(optional) The integer ID for an order.
Default: The current order ID, if exists

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

billing_country
(optional) Make shortcode results visible only in orders with specific billing country. Value is two letter country code. Can be comma separated list.
Default: None

not_billing_country
(optional) Make shortcode results visible only in orders excluding specific billing country. Value is two letter country code. Can be comma separated list.
Default: None

Examples

[wcj_order_payment_method_transaction_id before="Transaction ID: "]
Accessible through:
  • [wcj_order_payment_method_transaction_id]
Tested on WooCommerce 9.4.1 and WordPress 6.7