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 5.2.2 and WordPress 5.7.2