Glossary Term
get_comment_time()
3 tags
1 category
get_comment_time() — Retrieves the comment time of the current comment.
Inputs: $format (string): Optional. PHP date format. Defaults to the ‘time_format’ option. $gmt (bool): Optional. Whether to use the GMT date. Default false. $translate (bool): Optional. Whether to translate the time (for use in feeds). Default true. $comment_id (int|WP_Comment): Optional. WP_Comment or ID of the comment for which to get the time. Default current comment.
Returns string: The formatted time.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
