get_comment_date

Advertisement

Summery Summery

Filters the returned comment date.

Syntax Syntax

apply_filters( 'get_comment_date', string|int $date, string $format, WP_Comment $comment )

Parameters Parameters

$date

(string|int) Formatted date string or Unix timestamp.

$format

(string) The format of the date.

$comment

(WP_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