get_comment_time

Advertisement

Summery Summery

Filters the returned comment time.

Syntax Syntax

apply_filters( 'get_comment_time', string|int $date, string $format, bool $gmt, bool $translate, WP_Comment $comment )

Parameters Parameters

$date

The comment time, formatted as a date string or Unix timestamp.

$format

Date format.

$gmt

Whether the GMT date is in use.

$translate

Whether the time is translated.

$comment

The comment object.

Source Source

File: wp-includes/comment-template.php

Advertisement

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.

Advertisement

Leave a Reply