[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
Please check shortcodes common 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]
No comments yet.