mbr_post_time
Usage
This shortcode returns the time, i.e. the time portion of post_date
, of the current post or page.
Parameters
| format | The required time format. The value set for this parameter must follow the syntax rules for the PHP function date()
.
Default: H:i a
Required: no. |
Validity
This shortcode is evaluated for any type of visitor.
Conditional Branching
This shortcode does NOT support conditional branching with [ELSE_post_time].
Nesting
Shortcode nesting is NOT supported.
Examples
- Example 1
- Example 2
Will return the time, i.e. the time portion of post_date
, of the current post or page formatted as hours:minutes am/pm, H:i a.
[mbr_post_time]
Will return the time, i.e. the time portion of post_date
, of the current post or page formatted as hours:minutes:seconds for the 24 hour clock.
[mbr_post_time format='H:i:s']
API
There is currently no ActiveMember360 API function equivalent for this shortcode.