get_comment_date [ WordPress Function ]
get_comment_date ( $d = '', $comment_ID = 0 )
| Parameters: |
|
| Uses: |
|
| Returns: |
|
| Defined at: |
|
Benzer Fonksiyonlar: get_commentdata, get_comment_time, get_comment_type, get_comment_text, get_comment_id
Retrieve the comment date of the current comment.
Source
<?php
function get_comment_date( $d = '', $comment_ID = 0 ) {
$comment = get_comment( $comment_ID );
if ( '' == $d )
$date = mysql2date(get_option('date_format'), $comment->comment_date);
else
$date = mysql2date($d, $comment->comment_date);
return apply_filters('get_comment_date', $date, $d);
}
?>
Examples [ wp-snippets.com ]
Google Arama Sonuçlarý
- Function Reference/comment date « WordPress Codex
Description. Displays the date a comment was posted. Use get_comment_date to retrieve the value. Usage. <?php comment_date( 'd', $comment_ID ); ?> ...
codex.wordpress.org - get_comment_date (WordPress Function) - WPSeek.com
WordPress lookup for get_comment_date, a WordPress Function. wpseek.com is a WordPress-centric search tool for developers and theme authors.
wpseek.com - get_comment_date Wordpress hook details -- Adam Brown, BYU ...
Applied to the formatted comment date generated by the get_comment_date function (which is also called ... WordPress version history for get_comment_date ...
adambrown.info - get_comment_date | A HitchHackers guide through WordPress
Feb 12, 2011 ... function get_comment_date( $d = '', $comment_ID = 0 ) { $comment = get_comment( ... return apply_filters('get_comment_date', $date, $d); } ...
hitchhackerguide.com