fbpx

Description

[wcj_current_datetime] shortcode displays current date and time. For `datetime_format` check documentation on date and time formatting.

Args


”datetime_format”
(optional) ”Date.
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_datetime]
Accessible through:
  • [wcj_current_datetime]
Tested on WooCommerce 8.5.1 and WordPress 6.4.2