fbpx

Description

[wcj_order_time] shortcode displays WooCommerce order time.

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

visibility
(optional) User visibility. Possible values are WordPress user roles (including custom), e.g. administrator, shop_manager, customer, guest etc.
Default: all

location
(optional) Make shortcode results visible only to customers from specific country (by user IP). Value is two letter country code.
Default: all

Example

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