[wcj_current_time]

Display current time

Description

[wcj_current_time] shortcode displays current time. For time_format check documentation on date and time formatting.

Args

time_format
(optional) Time format.

Default: Format as set in Settings > General > Time Format. E.g.: g:i a
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

Examples

[wcj_current_time]
Accessible through:
  • [wcj_current_time]
Tested on WooCommerce 2.6.14 and WordPress 4.7.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

No comments yet.