[wcj_current_date]

Display current date

Description

[wcj_current_date] shortcode displays current date. For date_format check documentation on date and time formatting.

Args

date_format
(optional) Date format.

Default: Format as set in Settings > General > Date Format. E.g.: Y/m/d
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_date]
Accessible through:
  • [wcj_current_date]
Tested on WooCommerce 3.2.5 and WordPress 4.9
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.