[wcj_order_time]

Display WooCommerce order time

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 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 3.2.3 and WordPress 4.8.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.

Leave a Reply

Comments

1 Comment

  1. Peter August 25, 2017 at 6:24 am #

    HI!
    This shortcode calls the server time, however does not recognize the set timezone of the wordpress installation.
    How can I fix this?

    Reply to thread