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

Filters the returned comment time.


Description Description


Parameters Parameters

$date

(string|int) The comment time, formatted as a date string or Unix timestamp.

$d

(string) Date format.

$gmt

(bool) Whether the GMT date is in use.

$translate

(bool) Whether the time is translated.

$comment

(WP_Comment) The comment object.


Top ↑

Source Source

File: wp-includes/comment-template.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.