fbpx

Description

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

Args


”time_format”
(optional) ”Time.
Default: ”Format

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 5.7.1 and WordPress 5.8.1